mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-10-11 19:10:30 +08:00
Bump timeout
This commit is contained in:
@@ -716,7 +716,7 @@ func TestNegotiationCancel(t *testing.T) {
|
||||
select {
|
||||
case err := <-errCh:
|
||||
require.Equal(t, err, context.Canceled)
|
||||
case <-time.After(500 * time.Millisecond):
|
||||
case <-time.After(5 * time.Second):
|
||||
// failed to cancel
|
||||
t.Fatal("expected negotiation to be canceled")
|
||||
}
|
||||
|
Reference in New Issue
Block a user