mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-03 21:33:07 +00:00
Reduce time to wait
2 seconds per wait seemed a bit aggressive. Halved the total time of the test.
This commit is contained in:
parent
c33d8a8353
commit
ed746477f9
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user