Skip to content

Commit d19648c

Browse files
test: fix flaky ClientMultithreadTest
`ClientMultithreadTest` fails on MacOS because the `connect`s are timing out. To fix this, let's increase the `connect_timeout` for `ClientMultithreadTest` to 10 seconds. Closes #150
1 parent d08a676 commit d19648c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/ClientMultithreadTest.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ test_connect(Connector &client, Connection &conn, const std::string &addr, unsig
4747
.address = addr,
4848
.service = service,
4949
.transport = transport,
50+
.connect_timeout = 10,
5051
.user = user,
5152
.passwd = passwd,
5253
});

0 commit comments

Comments
 (0)