mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-7728: Test script to identify product issue
Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
parent
4f297efef5
commit
aa1e260812
@ -397,11 +397,18 @@ class TestEgressFWRules(cloudstackTestCase):
|
|||||||
# 2. login to VM.
|
# 2. login to VM.
|
||||||
# 3. ping public network.
|
# 3. ping public network.
|
||||||
# 4. public network should be reachable from the VM.
|
# 4. public network should be reachable from the VM.
|
||||||
|
# 5. Reboot the router
|
||||||
|
# 6. Ping public network from VM, it should be reachable
|
||||||
self.create_vm()
|
self.create_vm()
|
||||||
self.exec_script_on_user_vm('ping -c 1 www.google.com',
|
self.exec_script_on_user_vm('ping -c 1 www.google.com',
|
||||||
"| grep -oP \'\d+(?=% packet loss)\'",
|
"| grep -oP \'\d+(?=% packet loss)\'",
|
||||||
"['0']",
|
"['0']",
|
||||||
negative_test=False)
|
negative_test=False)
|
||||||
|
self.reboot_Router()
|
||||||
|
self.exec_script_on_user_vm('ping -c 1 www.google.com',
|
||||||
|
"| grep -oP \'\d+(?=% packet loss)\'",
|
||||||
|
"['0']",
|
||||||
|
negative_test=False)
|
||||||
|
|
||||||
@attr(tags=["advanced"], required_hardware="true")
|
@attr(tags=["advanced"], required_hardware="true")
|
||||||
def test_01_1_egress_fr1(self):
|
def test_01_1_egress_fr1(self):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user