summaryrefslogtreecommitdiffstats
path: root/tests/05r1-grow-internal
diff options
context:
space:
mode:
authorMateusz Kusiak <mateusz.kusiak@intel.com>2024-12-12 14:41:40 +0100
committerMariusz Tkaczyk <mtkaczyk@kernel.org>2024-12-13 10:08:10 +0100
commitd4be82f360160b4c8468fc35c0f9eb2803c7d739 (patch)
tree4694ce1322b394281a96c33f2570ccadf2465435 /tests/05r1-grow-internal
parenttests: fix 01r5fail (diff)
downloadmdadm-d4be82f360160b4c8468fc35c0f9eb2803c7d739.tar.xz
mdadm-d4be82f360160b4c8468fc35c0f9eb2803c7d739.zip
tests: increase sleeps for 04r5swap and 05r tests
This commit increases sleep times from 4 seconds to 6 as some of the tests seem to be randomly failing due to this. Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Diffstat (limited to 'tests/05r1-grow-internal')
-rw-r--r--tests/05r1-grow-internal4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/05r1-grow-internal b/tests/05r1-grow-internal
index f7fff989..6e2dac2a 100644
--- a/tests/05r1-grow-internal
+++ b/tests/05r1-grow-internal
@@ -8,11 +8,11 @@ testdev $md0 1 $mdsize1a 64
#mdadm -E $dev1
mdadm --grow $md0 --bitmap=internal --bitmap-chunk=4 --delay=1 || { mdadm -X $dev2 ; exit 1; }
-sleep 4
+sleep 6
dirty1=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
testdev $md0 1 $mdsize1a 64
-sleep 4
+sleep 6
dirty2=`mdadm -X $dev2 | sed -n -e 's/.*Bitmap.* \([0-9]*\) dirty.*/\1/p'`
if [ $dirty1 -ne 0 -o $dirty2 -ne 0 ]