summaryrefslogtreecommitdiffstats
path: root/tests/10ddf-incremental-wrong-order
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-incremental-wrong-order
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-incremental-wrong-order')
-rw-r--r--tests/10ddf-incremental-wrong-order8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/10ddf-incremental-wrong-order b/tests/10ddf-incremental-wrong-order
index 9ecf6bc2..ce3c2fbf 100644
--- a/tests/10ddf-incremental-wrong-order
+++ b/tests/10ddf-incremental-wrong-order
@@ -23,7 +23,7 @@ sha_0a=$(sha1_sum $member0)
sha_1a=$(sha1_sum $member1)
mdadm -Ss
-sleep 1
+sleep 2
# Add all devices except those for $member0
mdadm -I $dev10
@@ -35,7 +35,7 @@ e2fsck -fy $member1
sha_1b=$(sha1_sum $member1)
mdadm -Ss
-sleep 1
+sleep 2
# Seq number should be different now
seq8a=$(mdadm -E $dev8 | sed -n 's/^ *Seq : //p')
@@ -64,7 +64,7 @@ sha_0c=$(sha1_sum $member0)
sha_1c=$(sha1_sum $member1)
mdadm -Ss
-sleep 1
+sleep 2
seq8c=$(mdadm -E $dev8 | sed -n 's/^ *Seq : //p')
seq10c=$(mdadm -E $dev10 | sed -n 's/^ *Seq : //p')
@@ -103,7 +103,7 @@ if mdadm -A $container $dev8 $dev9 $dev10 $dev11; then
sha_0d=$(sha1_sum $member0)
sha_1d=$(sha1_sum $member1)
mdadm -Ss
- sleep 1
+ sleep 2
seq8d=$(mdadm -E $dev8 | sed -n 's/^ *Seq : //p')
seq10d=$(mdadm -E $dev10 | sed -n 's/^ *Seq : //p')
if [ x$sha_0a != x$sha_0d ]; then