summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGaurav Kumar Garg <ggarg@redhat.com>2015-05-09 15:38:51 +0530
committerVijay Bellur <vbellur@redhat.com>2015-05-09 05:58:44 -0700
commit4a15d32643fe149764239eabcf6ba53eb32faf63 (patch)
treecba1cc564352d8942f33eb16169e3e312d17373f /tests
parent988e00f83cb74c908471caf6af9cbce05b7f95c9 (diff)
tests: fix bitrot spurious failures
Change-Id: I342b7f8ec9c37cfd8d4cbd4090319330345bed4c BUG: 1220016 Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com> Reviewed-on: http://review.gluster.org/10707 Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t2
-rw-r--r--tests/bugs/bitrot/1209818-vol-info-show-scrub-process-properly.t2
-rw-r--r--tests/bugs/bitrot/bug-1210684-scrub-pause-resume-error-handling.t2
3 files changed, 3 insertions, 3 deletions
diff --git a/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t b/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t
index 51603dfc21e..919ffc3ba62 100644
--- a/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t
+++ b/tests/bugs/bitrot/1209751-bitrot-scrub-tunable-reset.t
@@ -22,7 +22,7 @@ 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
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" get_bitd_count
## Set bitrot scrub-throttle value to lazy
TEST $CLI volume bitrot $V0 scrub-throttle lazy
diff --git a/tests/bugs/bitrot/1209818-vol-info-show-scrub-process-properly.t b/tests/bugs/bitrot/1209818-vol-info-show-scrub-process-properly.t
index 7ee97d5df43..4fe02dc7f63 100644
--- a/tests/bugs/bitrot/1209818-vol-info-show-scrub-process-properly.t
+++ b/tests/bugs/bitrot/1209818-vol-info-show-scrub-process-properly.t
@@ -22,7 +22,7 @@ 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
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" get_bitd_count
## Set bitrot scrubber process to pause state
TEST $CLI volume bitrot $V0 scrub pause
diff --git a/tests/bugs/bitrot/bug-1210684-scrub-pause-resume-error-handling.t b/tests/bugs/bitrot/bug-1210684-scrub-pause-resume-error-handling.t
index 6c5521217a6..b15b908d21a 100644
--- a/tests/bugs/bitrot/bug-1210684-scrub-pause-resume-error-handling.t
+++ b/tests/bugs/bitrot/bug-1210684-scrub-pause-resume-error-handling.t
@@ -22,7 +22,7 @@ TEST $CLI volume start $V0
## Enable bitrot for volume $V0
TEST $CLI volume bitrot $V0 enable
-EXPECT_WITHIN $PROCESS_UP_TIMEOUT "2" get_bitd_count
+EXPECT_WITHIN $PROCESS_UP_TIMEOUT "1" get_bitd_count
## Pause scrubber operation on volume $V0
TEST $CLI volume bitrot $V0 scrub pause