Commit 5c71aa9f authored by Adin Schmahmann's avatar Adin Schmahmann Committed by Steven Allen

fix(test): increase timeout for notification tests since it's slow on Windows

parent 8715e2d0
......@@ -67,7 +67,7 @@ func TestNotifieeMultipleConn(t *testing.T) {
d2.host.Close()
// wait context will ensure that the RT cleanup completes
waitCtx, cancel := context.WithTimeout(ctx, 2*time.Second)
waitCtx, cancel := context.WithTimeout(ctx, 5*time.Second)
defer cancel()
require.NoError(t, tu.WaitFor(waitCtx, func() error {
......@@ -79,7 +79,7 @@ func TestNotifieeMultipleConn(t *testing.T) {
}
func TestNotifieeFuzz(t *testing.T) {
ctx, cancel := context.WithTimeout(context.Background(), time.Second*2)
ctx, cancel := context.WithTimeout(context.Background(), time.Second*5)
defer cancel()
d1 := setupDHT(ctx, t, false, RoutingTableCheckInterval(50*time.Millisecond))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment