Increase timeouts in order to accommodate `-race` flag

- Fixes https://jenkins.status.im/job/status-go/job/race-check/56/console
This commit is contained in:
Pedro Pombeiro 2018-05-04 11:08:04 +02:00 committed by Pedro Pombeiro
parent 84cb5ca917
commit 5d802abe9e
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ func (s *ShhExtSuite) TestPostMessageWithConfirmation() {
select {
case confirmed := <-mock.confirmations:
s.Equal(hash, confirmed)
case <-time.After(time.Second):
case <-time.After(5 * time.Second):
s.Fail("timed out while waiting for confirmation")
}
}
@ -123,7 +123,7 @@ func (s *ShhExtSuite) TestWaitMessageExpired() {
s.Equal(hash, expired)
case confirmed := <-mock.confirmations:
s.Fail("unexpected confirmation for hash", confirmed)
case <-time.After(2 * time.Second):
case <-time.After(10 * time.Second):
s.Fail("timed out while waiting for confirmation")
}
}