From 95c11a1fd15165a1404ddf6eed80ea1cf20b9335 Mon Sep 17 00:00:00 2001 From: Jack Christensen Date: Wed, 31 May 2017 07:57:22 -0500 Subject: [PATCH] Remove bad channel sync causing orphaned goroutine --- conn_test.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/conn_test.go b/conn_test.go index 4d001da5..a7fbbcf1 100644 --- a/conn_test.go +++ b/conn_test.go @@ -1543,13 +1543,9 @@ func TestListenNotifyWhileBusyIsSafe(t *testing.T) { } }() - notifierDone := make(chan bool) go func() { conn := mustConnect(t, *defaultConnConfig) defer closeConn(t, conn) - defer func() { - notifierDone <- true - }() for i := 0; i < 100000; i++ { mustExec(t, conn, "notify busysafe, 'hello'")