aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2023-02-07 16:51:19 +0000
committerPeter Maydell <peter.maydell@linaro.org>2023-02-09 11:23:53 +0000
commit417296c8d8588f782018d01a317f88957e9786d6 (patch)
treef98516ec0b980d70736638609f42cea0407ba193
parent65417c2357b6ca0d33310e0f081ee27647987df8 (diff)
tests/qtest/netdev-socket: Raise connection timeout to 60 seconds
The netdev-socket test intermittently fails on our s390x CI runner: 633/659 ERROR:../tests/qtest/netdev-socket.c:197:test_stream_unix: assertion failed (resp == expect): ("st0: index=0,type=stream,connection error\r\n" == "st0: index=0,type=stream,unix:/tmp/netdev-socket.GZUG01/stream_unix\r\n") ERROR 633/659 qemu:qtest+qtest-xtensa / qtest-xtensa/netdev-socket ERROR 5.47s killed by signal 6 SIGABRT This may just be because when the machine is under heavy load running the CI tests it hits the timeout before the QEMU under test has started to the point of being able to respond to HMP queries. Bump the timeout to 60 seconds to see if the intermittent goes away. Acked-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20230207165119.1479132-1-peter.maydell@linaro.org
-rw-r--r--tests/qtest/netdev-socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/netdev-socket.c b/tests/qtest/netdev-socket.c
index 6ba256e173..1d98dca821 100644
--- a/tests/qtest/netdev-socket.c
+++ b/tests/qtest/netdev-socket.c
@@ -12,7 +12,7 @@
#include "../unit/socket-helpers.h"
#include "libqtest.h"
-#define CONNECTION_TIMEOUT 5
+#define CONNECTION_TIMEOUT 60
#define EXPECT_STATE(q, e, t) \
do { \