kumquat-buildroot/support/testing
Julien Olivain 1140bfd950 support/testing: mdadm: improve test robustness on slow runners
As expected by Peter in [1], the hardcoded 3 seconds for waiting the
RAID array to rebuild are not enough on slow test host runners. This
test already failed at least once for that reason, in [2].

In order to fix those failures, this commit adds extra logic to allow
several attempts, before failing. The timeout is currently set at 10
attempts, waiting 3 seconds between each attempts. To help even more,
those 3 seconds are also scaled with the timeout_multiplier.

Fixes: [2]

[1] https://lists.buildroot.org/pipermail/buildroot/2024-February/685034.html
[2] https://gitlab.com/buildroot.org/buildroot/-/jobs/6137469690

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-03-03 17:30:52 +01:00
..
conf support/testing: add systemd tests for factory and overlayfs 2023-10-08 20:15:13 +02:00
infra support/testing: bump prebuilt kernel to 5.10.202 2023-12-09 21:35:28 +01:00
tests support/testing: mdadm: improve test robustness on slow runners 2024-03-03 17:30:52 +01:00
run-tests support/testing: bump prebuilt kernel to 5.10.202 2023-12-09 21:35:28 +01:00