diff options
author | Andrew Bartlett <abartlet@samba.org> | 2023-03-09 10:06:26 +1300 |
---|---|---|
committer | Jule Anger <janger@samba.org> | 2023-04-05 10:40:13 +0000 |
commit | 1a119c757df4a41407738206e96f6834dd3ae6ff (patch) | |
tree | 2bad0608bb3f48cc790514a921f7578955a3e74e | |
parent | f968514c4d45cd89ea94196ef1b9487447262915 (diff) | |
download | samba-1a119c757df4a41407738206e96f6834dd3ae6ff.tar.gz |
tsocket: Increase tcp_user_timeout max_loops
Often, on rackspace GitLab CI runners, we get:
UNEXPECTED(failure): samba.unittests.tsocket_tstream.test_tstream_more_tcp_user_timeout_spin(none)
REASON: Exception: Exception: 0xf == 0xf
../../lib/tsocket/tests/test_tstream.c:405: error: Failure!
This allows us more spins before we fail the test.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15328
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
(cherry picked from commit 5a7a28cc45870949fc11d30586a06c309aa517dc)
-rw-r--r-- | lib/tsocket/tests/test_tstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tsocket/tests/test_tstream.c b/lib/tsocket/tests/test_tstream.c index a920e671cda..47008bb8bf8 100644 --- a/lib/tsocket/tests/test_tstream.c +++ b/lib/tsocket/tests/test_tstream.c @@ -322,7 +322,7 @@ static void test_tstream_server_spin_client_tcp_user_timeout(struct socket_pair rc = write(sp->socket_client, TEST_STRING, sizeof(TEST_STRING)); assert_return_code(rc, errno); sp->expected_errno = ETIMEDOUT; - sp->max_loops = 15; + sp->max_loops = 30; } static void test_tstream_server_spin_client_both_timer(struct tevent_context *ev, |