mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-05 06:13:10 +00:00
increase wait time for IWANT spam test to 1s
This commit is contained in:
parent
bac5d5910c
commit
7efd666dc4
@ -51,9 +51,9 @@ func TestGossipsubAttackSpamIWANT(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
// Wait for 200ms after the last message before checking we got the
|
||||
// Wait a bit after the last message before checking we got the
|
||||
// right number of messages
|
||||
msgWaitMax := 200 * time.Millisecond
|
||||
msgWaitMax := time.Second
|
||||
msgCount := 0
|
||||
msgTimer := time.NewTimer(msgWaitMax)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user