summaryrefslogtreecommitdiffstats
path: root/hw/misc/macio/gpio.c
diff options
context:
space:
mode:
authorAlex Bennée2022-10-27 20:36:35 +0200
committerAlex Bennée2022-10-31 21:37:59 +0100
commit68406d10859385c88da73d0106254a7f47e6652e (patch)
treea5e2930a3f44fee048f0c6d920c98cd05f84ce35 /hw/misc/macio/gpio.c
parentcontrib/plugins: protect execlog's last_exec expansion (diff)
downloadqemu-68406d10859385c88da73d0106254a7f47e6652e.tar.gz
qemu-68406d10859385c88da73d0106254a7f47e6652e.tar.xz
qemu-68406d10859385c88da73d0106254a7f47e6652e.zip
tests/unit: cleanups for test-io-channel-command
This test is hanging under heavy load when the two socats race while trying to create the socket. I've tried various approaches to avoid the race but it seems "creat=0" won't stop socat trying to create a pipe if it executes first. In the end I just use a small sleep which seems to be reliable enough on the load situations I've tried. While I was there I also properly created a tmpdir for the socket to live in which is cleaned up at the end of the test. Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Cc: Thomas Huth <thuth@redhat.com> Cc: Marc-André Lureau <marcandre.lureau@redhat.com> Cc: Juan Quintela <quintela@redhat.com> Message-Id: <20221027183637.2772968-30-alex.bennee@linaro.org>
Diffstat (limited to 'hw/misc/macio/gpio.c')
0 files changed, 0 insertions, 0 deletions