Skip to content

Commit 417296c

Browse files
committed
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 <[email protected]> Signed-off-by: Peter Maydell <[email protected]> Message-id: [email protected]
1 parent 65417c2 commit 417296c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/qtest/netdev-socket.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "../unit/socket-helpers.h"
1313
#include "libqtest.h"
1414

15-
#define CONNECTION_TIMEOUT 5
15+
#define CONNECTION_TIMEOUT 60
1616

1717
#define EXPECT_STATE(q, e, t) \
1818
do { \

0 commit comments

Comments
 (0)