kumquat-buildroot/support/testing/tests
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
..
boot support/testing: add optee-os runtime test 2024-02-07 16:36:31 +01:00
core
download
fs
init
package support/testing: mdadm: improve test robustness on slow runners 2024-03-03 17:30:52 +01:00
toolchain
utils support/testing: TestCheckPackage: update expected strings 2024-02-21 18:04:43 +01:00
__init__.py