summaryrefslogtreecommitdiffstats
path: root/tests/functional/test_node_restart.py
diff options
context:
space:
mode:
authorNitin Goyal <nigoyal@redhat.com>2019-07-02 12:23:54 +0530
committerNitin Goyal <nigoyal@redhat.com>2019-07-02 12:47:49 +0000
commit3997c825e0a42256ba5125c0cd378934787ff2dc (patch)
tree32ad5d69dc94c219433912b3cb35f3e2e72ae59e /tests/functional/test_node_restart.py
parent33c9873aca41c262bcc2c31a381279503c1982b9 (diff)
Add state arg in *_service_status_* libs in openshift-ops module
Before, these libraries could be used for 'active' state only. Make it accept one additional 'state' argument for possibility to use it for any state, not just one. Change-Id: I6d4fbd7584b308e3ad248213cb0ec3f4996f6437
Diffstat (limited to 'tests/functional/test_node_restart.py')
-rw-r--r--tests/functional/test_node_restart.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/test_node_restart.py b/tests/functional/test_node_restart.py
index d1be4232..745ea2db 100644
--- a/tests/functional/test_node_restart.py
+++ b/tests/functional/test_node_restart.py
@@ -134,7 +134,7 @@ class TestNodeRestart(BaseClass):
g.log.info("gluster_pod - '%s' : gluster_service '%s'" % (
gluster_pod, service))
check_service_status_on_pod(
- self.oc_node, gluster_pod, service, "running"
+ self.oc_node, gluster_pod, service, "active", "running"
)
@skip("Blocked by BZ-1652913")