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'")