CLOUDSTACK-7728: Test script to identify product issue Signed-off-by: SrikanteswaraRao Talluri <tall...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aa1e2608 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aa1e2608 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/aa1e2608 Branch: refs/heads/4.5 Commit: aa1e26081208b5d6c758a6efbbf3b62ab2d6720d Parents: 4f297ef Author: Gaurav Aradhye <gaurav.arad...@clogeny.com> Authored: Fri Oct 17 14:43:21 2014 +0530 Committer: SrikanteswaraRao Talluri <tall...@apache.org> Committed: Thu Oct 30 15:35:32 2014 +0530 ---------------------------------------------------------------------- test/integration/component/test_egress_fw_rules.py | 7 +++++++ 1 file changed, 7 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aa1e2608/test/integration/component/test_egress_fw_rules.py ---------------------------------------------------------------------- diff --git a/test/integration/component/test_egress_fw_rules.py b/test/integration/component/test_egress_fw_rules.py index 12bade4..0122e4f 100755 --- a/test/integration/component/test_egress_fw_rules.py +++ b/test/integration/component/test_egress_fw_rules.py @@ -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):