Skip to content

Commit

Permalink
tls: Increase timeout in HTTPS response test
Browse files Browse the repository at this point in the history
The tls unit tests often fail under valgrind. Quadruple the timeout so
that they work more reliably.

Closes cockpit-project#13004
  • Loading branch information
martinpitt authored and croissanne committed Oct 17, 2019
1 parent 7f2e723 commit 1bb2043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tls/test-server.c
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ assert_https_outcome (TestCase *tc,
}

for (int retry = 0; retry < 100 && waitpid (pid, &status, WNOHANG) <= 0; ++retry)
server_poll_event (50);
server_poll_event (200);
g_assert_cmpint (status, ==, 0);
}

Expand Down

0 comments on commit 1bb2043

Please sign in to comment.