CLOUDSTACK-7728: Test script to identify product issue

Signed-off-by: SrikanteswaraRao Talluri <talluri@apache.org>
This commit is contained in:
Gaurav Aradhye 2014-10-17 14:43:21 +05:30 committed by SrikanteswaraRao Talluri
parent 4f297efef5
commit aa1e260812

View File

@ -397,11 +397,18 @@ class TestEgressFWRules(cloudstackTestCase):
# 2. login to VM.
# 3. ping public network.
# 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.exec_script_on_user_vm('ping -c 1 www.google.com',
"| grep -oP \'\d+(?=% packet loss)\'",
"['0']",
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")
def test_01_1_egress_fr1(self):