[
https://issues.apache.org/jira/browse/CLOUDSTACK-8514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14560402#comment-14560402
]
ASF GitHub Bot commented on CLOUDSTACK-8514:
--------------------------------------------
GitHub user gauravaradhye opened a pull request:
https://github.com/apache/cloudstack/pull/309
CLOUDSTACK-8514: test_haproxy.py - Verifying router state before validating
network rules
The test case test_08_create_policy_router_stopped fails in automation runs
because the router state is not verified if running, when the routers is
stopped and started again.
In this case SSH fails if the router is still in starting state.
Hence, before doing SSH, check if the router it is in running state, then
only proceed.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gauravaradhye/cloudstack 8514
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cloudstack/pull/309.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #309
----
commit 0878169627dc02d07bb130bccbdc48d1cf97ab4a
Author: Gaurav Aradhye <[email protected]>
Date: 2015-05-27T04:47:16Z
CLOUDSTACK-8514: test_haproxy.py - Verifying router state before validating
network rules
----
> test_haproxy.py - Check router state after starting router before validating
> network rules
> ------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-8514
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8514
> Project: CloudStack
> Issue Type: Test
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Automation
> Affects Versions: 4.6.0
> Reporter: Gaurav Aradhye
> Assignee: Gaurav Aradhye
> Labels: automation
> Fix For: 4.6.0
>
>
> The test case test_08_create_policy_router_stopped fails in automation runs
> because the router state is not verified if running, when the routers is
> stopped and started again.
> In this case SSH fails if the router is still in starting state.
> Hence, before doing SSH, check if the router it is in running state, then
> only proceed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)