summaryrefslogtreecommitdiffstats
path: root/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2015-05-09 12:23:10 +0530
committerVijay Bellur <vbellur@redhat.com>2015-05-09 00:22:41 -0700
commit988e00f83cb74c908471caf6af9cbce05b7f95c9 (patch)
tree365d75fb8754a3bc9254f47f2e480763e3f2c209 /tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t
parent5faf4801bd6839cec58324a45dec31f977992236 (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>
Diffstat (limited to 'tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t')
-rw-r--r--tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t b/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t
index 4f98174c16f..51603dfc21e 100644
--- a/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t
+++ b/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t
@@ -22,6 +22,8 @@ TEST $CLI volume start $V0
## Enable bitrot on volume $V0
TEST $CLI volume bitrot $V0 enable
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "2" get_bitd_count
+
## Set bitrot scrub-throttle value to lazy
TEST $CLI volume bitrot $V0 scrub-throttle lazy