From 243b4ac4049b417355c25338577c28c7b7571e75 Mon Sep 17 00:00:00 2001 From: William Banfield Date: Tue, 24 Aug 2021 13:59:56 -0400 Subject: [PATCH] increase timeouts for context switch --- inspect/inspect_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inspect/inspect_test.go b/inspect/inspect_test.go index f16f57243..c2a1df571 100644 --- a/inspect/inspect_test.go +++ b/inspect/inspect_test.go @@ -577,7 +577,7 @@ func requireConnect(t testing.TB, addr string, retries int) { return } // FIXME attempt to yield and let the other goroutine continue execution. - time.Sleep(time.Microsecond) + time.Sleep(time.Microsecond * 100) } t.Fatalf("unable to connect to server %s after %d tries: %s", addr, retries, err) }