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:
parent
84cb5ca917
commit
5d802abe9e
|
@ -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")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue