kumquat-buildroot/support
Julien Olivain ba7bd5efd0 support/testing: improve mosquitto test reliability
The mosquitto runtime test can randomly fail on slow
runners, see [1].

This commit improves this test in the following ways:

- the mosquitto_sub subscriber process is now started in a subshell
to suppress the job control messages (to prevent any spurious
messages when the job stops),

- the standard error is redirected to /dev/null, to prevent the
printing of any messages,

- the mosquitto_pub publisher process is started later, by increasing
the sleep time,

- finally, a new sleep time is introduced between the mosquitto_pub
publisher process and the check of the mosquitto_sub subscriber, to
make sure it will have time to write its output and exit.

Fixes: [1]

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

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 07a444d08804b3a453e4d01686ba0bef990070ca)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-12-06 10:25:58 +01:00
..
config-fragments support/config-fragments: fix bootlin-x86-i686-musl 2024-06-03 17:52:06 +02:00
dependencies support/dependencies/dependencies.sh: fix 'mimic' typo 2024-10-12 15:57:13 +02:00
docker support/docker: add qemu-system-misc for riscv runtime tests 2023-08-24 23:20:26 +02:00
download support/download/check-hash: accept hash files without terminating \n 2024-08-20 19:20:00 +02:00
gnuconfig
kconfig support/kconfig: fix 'multiple' typo in patch description 2024-10-12 15:57:14 +02:00
legal-info boot, package, support, toolchain: switch to 2 spaces for the hash file 2022-07-28 23:05:23 +02:00
libtool
misc Update for 2024.02.8 2024-11-14 17:25:26 +01:00
scripts support/scripts/pkg-stats: add unsure_cves to cve_total calculation 2024-11-09 17:27:38 +01:00
testing support/testing: improve mosquitto test reliability 2024-12-06 10:25:58 +01:00