diff --git a/p2p/host/relaysvc/relay_test.go b/p2p/host/relaysvc/relay_test.go index d995cac200..14c7fd0ae5 100644 --- a/p2p/host/relaysvc/relay_test.go +++ b/p2p/host/relaysvc/relay_test.go @@ -45,7 +45,7 @@ func TestReachabilityChangeEvent(t *testing.T) { require.Eventually( t, func() bool { rmgr.mutex.Lock(); defer rmgr.mutex.Unlock(); return rmgr.relay == nil }, - 1*time.Second, + 3*time.Second, 100*time.Millisecond, "relay should be nil on unknown reachability")