summaryrefslogtreecommitdiffstats
path: root/tests/10ddf-fail-readd
diff options
context:
space:
mode:
authorMateusz Kusiak <mateusz.kusiak@intel.com>2024-12-12 19:15:09 +0100
committerMariusz Tkaczyk <mtkaczyk@kernel.org>2024-12-13 10:08:10 +0100
commit999c963352a465ccf08943a4c927490cb08f7cff (patch)
tree7024a2a8b5ad2fbc72bf64c56562e9b3e505dbb4 /tests/10ddf-fail-readd
parenttests: increase sleeps for 04r5swap and 05r tests (diff)
downloadmdadm-999c963352a465ccf08943a4c927490cb08f7cff.tar.xz
mdadm-999c963352a465ccf08943a4c927490cb08f7cff.zip
tests: increase sleeps from 1s to 2s
The issue here is that some of the tests sporadically fail due to things being still processed. Default 1s delays proven not to be sufficient for newly created CI, as tests tend to ocassionally fail. This patch increases default 1s sleep to 2s, to hopefully get rid of sporadical fails. Signed-off-by: Mateusz Kusiak <mateusz.kusiak@intel.com>
Diffstat (limited to 'tests/10ddf-fail-readd')
-rw-r--r--tests/10ddf-fail-readd4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/10ddf-fail-readd b/tests/10ddf-fail-readd
index 9cd78937..a9486769 100644
--- a/tests/10ddf-fail-readd
+++ b/tests/10ddf-fail-readd
@@ -17,7 +17,7 @@ set -- $(get_raiddisks $member0)
fail0=$1
mdadm $member0 --fail $fail0
-sleep 1
+sleep 2
mdadm $container --remove $fail0
set -- $(get_raiddisks $member0)
@@ -27,7 +27,7 @@ good0=$1
# We re-add the disk now
mdadm $container --add $fail0
-sleep 1
+sleep 2
mdadm --wait $member0 || true
ret=0