increase wait time for IWANT spam test to 1s

This commit is contained in:
vyzo 2020-04-22 18:53:31 +03:00
parent bac5d5910c
commit 7efd666dc4

View File

@ -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)