Reduce time to wait

2 seconds per wait seemed a bit aggressive. Halved the total time of the test.
This commit is contained in:
Raghav Gulati 2019-05-07 10:09:40 -07:00
parent c33d8a8353
commit ed746477f9
No known key found for this signature in database
GPG Key ID: EA2C73F6F7EF2701
1 changed files with 2 additions and 2 deletions

View File

@ -1025,7 +1025,7 @@ func TestImproperlySignedMessageNotRelayed(t *testing.T) {
}
}(adversaryContext)
<-time.After(2 * time.Second)
<-time.After(1 * time.Second)
adversaryCancel()
if len(adversaryMessages) != 2 {
@ -1051,7 +1051,7 @@ func TestImproperlySignedMessageNotRelayed(t *testing.T) {
}
}(honestPeerContext)
<-time.After(2 * time.Second)
<-time.After(1 * time.Second)
honestPeerCancel()
if len(honestPeerMessages) != 1 {