From a3cd5a40297e71f414e66ed6be53eca7b2bad581 Mon Sep 17 00:00:00 2001 From: Andy Wang Date: Sun, 18 Oct 2020 15:52:36 +0100 Subject: [PATCH] Make tests wait longer between closing something and testing if the other end has closed --- internal/test/integration_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/test/integration_test.go b/internal/test/integration_test.go index 23f8a61..65050e7 100644 --- a/internal/test/integration_test.go +++ b/internal/test/integration_test.go @@ -23,7 +23,7 @@ import ( ) const numConns = 200 // -race option limits the number of goroutines to 8192 -const delayBeforeTestingConnClose = 500 * time.Millisecond +const delayBeforeTestingConnClose = 700 * time.Millisecond func serveTCPEcho(l net.Listener) { for {