2
0

Remove bad channel sync causing orphaned goroutine

This commit is contained in:
Jack Christensen
2017-05-31 07:57:22 -05:00
parent e896e8c311
commit 95c11a1fd1
-4
View File
@@ -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'")