projects/guix·blob python-team · refs

25 lines · 962 B

1We've seen some tests take up to 60s to complete on a busy armhf
2machine. Even a busy x86_64 machine can use more than 5s on some tests.
3
4Increase timeouts to increase chances of a successful build.
5
6--- a/nss/gtests/ssl_gtest/tls_connect.cc 2017-03-14 22:47:30.855813629 +0100
7+++ b/nss/gtests/ssl_gtest/tls_connect.cc 2017-03-14 22:48:49.042335273 +0100
8@@ -245,7 +245,7 @@
9
10 ASSERT_TRUE_WAIT((client_->state() != TlsAgent::STATE_CONNECTING) &&
11 (server_->state() != TlsAgent::STATE_CONNECTING),
12- 5000);
13+ 300000);
14 }
15
16 void TlsConnectTestBase::EnableExtendedMasterSecret() {
17@@ -385,7 +385,7 @@
18 if (failing_side == TlsAgent::CLIENT) {
19 failing_agent = client_;
20 }
21- ASSERT_TRUE_WAIT(failing_agent->state() == TlsAgent::STATE_ERROR, 5000);
22+ ASSERT_TRUE_WAIT(failing_agent->state() == TlsAgent::STATE_ERROR, 300000);
23 }
24
25 void TlsConnectTestBase::ConfigureVersion(uint16_t version) {