kumquat-buildroot/support
Julien Olivain 9592b990d5 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>
(cherry picked from commit 9a734700d7)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-06-08 15:50:17 +02:00
..
config-fragments support/config-fragments: fix bootlin-x86-i686-musl 2024-06-03 17:52:06 +02:00
dependencies support/dependencies/dependencies.sh: libopenssl needs perl bigint on s390x 2024-03-03 13:13:40 +01:00
docker
download support/download/check-hash: fix shellcheck errors 2024-04-28 21:45:59 +02:00
gnuconfig
kconfig kconfig/lxdialog: fix check() with GCC14 2024-05-15 15:18:09 +02:00
legal-info
libtool
misc Update for 2024.02.2 2024-05-07 09:30:06 +02:00
scripts support/scripts/pkg-stats: fix/improve git hash sorting 2024-05-02 18:30:18 +02:00
testing support/testing: improve python-magic-wormhole test reliability 2024-06-08 15:50:17 +02:00