diff --git a/state/indexer/sink/psql/psql_test.go b/state/indexer/sink/psql/psql_test.go index c86654fdd..9885c5ea4 100644 --- a/state/indexer/sink/psql/psql_test.go +++ b/state/indexer/sink/psql/psql_test.go @@ -329,8 +329,5 @@ func verifyNotImplemented(t *testing.T, label string, f func() (bool, error)) { func waitForInterrupt() { ch := make(chan os.Signal, 1) signal.Notify(ch, os.Interrupt) - select { - case <-ch: - return - } + <-ch }