aboutsummaryrefslogtreecommitdiff
path: root/hw/sh4/trace-events
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2022-10-27 19:36:35 +0100
committerAlex Bennée <alex.bennee@linaro.org>2022-10-31 20:37:59 +0000
commit68406d10859385c88da73d0106254a7f47e6652e (patch)
treea5e2930a3f44fee048f0c6d920c98cd05f84ce35 /hw/sh4/trace-events
parent14fd492b89b512735ac3abf8f5300db865129378 (diff)
downloadqemu-68406d10859385c88da73d0106254a7f47e6652e.zip
qemu-68406d10859385c88da73d0106254a7f47e6652e.tar.gz
qemu-68406d10859385c88da73d0106254a7f47e6652e.tar.bz2
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/sh4/trace-events')
0 files changed, 0 insertions, 0 deletions