kumquat-buildroot/support
Julien Olivain 9a734700d7 support/testing: improve python-magic-wormhole test reliability
The python-magic-wormhole runtime test can randomly fail on slow
runners, see [1].

The issue is that the sending command is started first in background
_without_ redirecting its output to /dev/null. The receiving command
is started after, expecting the message to be printed on the first
standard output line. On slower systems, the sending command still
print messages while the test controller expect output from the
receiving command. The expected string finally appear, but not on the
first line. This makes the test fail.

This commit fixes the issue by redirecting all outputs (stdout, stderr)
of the sending command to /dev/null. To help even more, the sleep time
is moved from the emulator to the test controller. The sleep time is
also multiplied by the timeout_multiplier.

Fixes: [1]

[1] https://gitlab.com/buildroot.org/buildroot/-/jobs/6888691508

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Romain Naour <romain.naour@smile.fr>
2024-05-22 15:04:39 +02:00
..
config-fragments support/config-fragments: fix bootlin-x86-i686-musl 2024-05-22 13:55:43 +02:00
dependencies support/dependencies: require tar >= 1.35 2024-05-09 22:45:07 +02:00
docker support/docker: add qemu-system-misc for riscv runtime tests 2023-08-24 23:20:26 +02:00
download support/download: force fetching tags 2024-05-09 22:45:14 +02:00
gnuconfig
kconfig kconfig/lxdialog: fix check() with GCC14 2024-04-30 19:52:01 +02:00
legal-info
libtool
misc Update for 2024.02.2 2024-05-07 10:49:03 +02:00
scripts support/scripts/pkg-stats: fix/improve git hash sorting 2024-04-07 18:04:44 +02:00
testing support/testing: improve python-magic-wormhole test reliability 2024-05-22 15:04:39 +02:00