gnu: nss: Increase test timeouts.

* gnu/packages/patches/nss-increase-test-timeout.patch: Wait up to 60s before
regarding a test as failed.
This commit is contained in:
Marius Bakke 2017-04-16 21:21:36 +02:00
parent a7ccfefd53
commit a790f26207
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
We've seen some tests take more than 20s to complete on a busy armhf We've seen some tests take up to a minute to complete on a busy armhf
machine. Even a busy x86_64 machine can use more than 5s on some tests. machine. Even a busy x86_64 machine can use more than 5s on some tests.
Increase timeouts to increase chances of a successful build. Increase timeouts to increase chances of a successful build.
@ -10,7 +10,7 @@ Increase timeouts to increase chances of a successful build.
ASSERT_TRUE_WAIT((client_->state() != TlsAgent::STATE_CONNECTING) && ASSERT_TRUE_WAIT((client_->state() != TlsAgent::STATE_CONNECTING) &&
(server_->state() != TlsAgent::STATE_CONNECTING), (server_->state() != TlsAgent::STATE_CONNECTING),
- 5000); - 5000);
+ 25000); + 60000);
} }
void TlsConnectTestBase::EnableExtendedMasterSecret() { void TlsConnectTestBase::EnableExtendedMasterSecret() {
@ -19,7 +19,7 @@ Increase timeouts to increase chances of a successful build.
failing_agent = client_; failing_agent = client_;
} }
- ASSERT_TRUE_WAIT(failing_agent->state() == TlsAgent::STATE_ERROR, 5000); - ASSERT_TRUE_WAIT(failing_agent->state() == TlsAgent::STATE_ERROR, 5000);
+ ASSERT_TRUE_WAIT(failing_agent->state() == TlsAgent::STATE_ERROR, 25000); + ASSERT_TRUE_WAIT(failing_agent->state() == TlsAgent::STATE_ERROR, 60000);
} }
void TlsConnectTestBase::ConfigureVersion(uint16_t version) { void TlsConnectTestBase::ConfigureVersion(uint16_t version) {