From fd28df58c0a25e181acf21ef06074fc770a63870 Mon Sep 17 00:00:00 2001 From: Radon Rosborough Date: Sat, 22 Oct 2022 20:39:08 -0700 Subject: [PATCH] Fix another test --- lib/sleepingd/proxy_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/sleepingd/proxy_test.go b/lib/sleepingd/proxy_test.go index acb8a72..8513164 100644 --- a/lib/sleepingd/proxy_test.go +++ b/lib/sleepingd/proxy_test.go @@ -153,6 +153,7 @@ func Test_Proxy_UpstreamClose(t *testing.T) { defer proxy.Close() conn, err := net.Dial("tcp", "127.0.0.1:7001") assert.NoError(t, err) + _, _ = conn.Write([]byte("is anybody there?\n")) closed := make(chan error) go func() { buf := make([]byte, 1024)