diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2015-05-09 12:23:10 +0530 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-05-09 14:50:15 -0700 |
commit | 8e26dc8baf61ae323bcc1eb311436b225312d84e (patch) | |
tree | 0515ceb3ada5da3e21b36f5b862927be0ecb4a01 /tests/bugs/bitrot/bug-1207029-bitrot-daemon-should-start-on-valid-node.t | |
parent | a3af10a801a40fe990ee5db63c6dd6cb97713e4c (diff) |
tests: fix bitrot spurious failures
Change-Id: I55bd62480b7ee38cf7b29aeba67b19b0c5bbe2fb
BUG: 1220016
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: http://review.gluster.org/10702
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Tested-by: Vijay Bellur <vbellur@redhat.com>
Reviewed-on: http://review.gluster.org/10705
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Gaurav Kumar Garg <ggarg@redhat.com>
Diffstat (limited to 'tests/bugs/bitrot/bug-1207029-bitrot-daemon-should-start-on-valid-node.t')
-rw-r--r-- | tests/bugs/bitrot/bug-1207029-bitrot-daemon-should-start-on-valid-node.t | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/bugs/bitrot/bug-1207029-bitrot-daemon-should-start-on-valid-node.t b/tests/bugs/bitrot/bug-1207029-bitrot-daemon-should-start-on-valid-node.t index 263df31ff38..f2c2b340e60 100644 --- a/tests/bugs/bitrot/bug-1207029-bitrot-daemon-should-start-on-valid-node.t +++ b/tests/bugs/bitrot/bug-1207029-bitrot-daemon-should-start-on-valid-node.t @@ -34,6 +34,9 @@ TEST $CLI_1 volume start $V0 ## Enable bitrot on volume $V0 TEST $CLI_1 volume bitrot $V0 enable +EXPECT_WITHIN $PROCESS_UP_TIMEOUT "2" get_bitd_count +EXPECT_WITHIN $PROCESS_UP_TIMEOUT "2" get_scrubd_count + ## From node 1 Gluster volume status command should show the status of bitrot ## daemon of all the nodes. there are 2 nodes in a cluster with having brick ## ${V0}1 and ${V0}2 . So there should be 2 bitrot daemon running. |