Closed
Description
Seems like a shutdown problem seen here
=== RUN TestRunStopRace
=== PAUSE TestRunStopRace
=== CONT TestRunStopRace
t.go:106: 2025-06-03 19:52:21.574 [debu] pubsub: pubsub dialing postgres network=tcp address=127.0.0.1:5432 timeout_ms=0
t.go:106: 2025-06-03 19:52:21.575 [debu] pubsub: pubsub postgres TCP connection established network=tcp address=127.0.0.1:5432 timeout_ms=0 elapsed_ms=0
t.go:106: 2025-06-03 19:52:21.580 [debu] pubsub: pubsub connected to postgres
t.go:106: 2025-06-03 19:52:21.580 [debu] pubsub: pubsub has started
t.go:106: 2025-06-03 19:52:21.581 [debu] notifications-manager: notification manager started
t.go:106: 2025-06-03 19:52:21.581 [debu] notifications-manager: graceful stop requested
t.go:106: 2025-06-03 19:52:21.581 [debu] notifications-manager: notification manager stopped
t.go:115: 2025-06-03 19:52:21.581 [erro] notifications-manager: notification manager stopped with error ...
error= manager already closed:
github.com/coder/coder/v2/coderd/notifications.(*Manager).loop
/home/runner/work/coder/coder/coderd/notifications/manager.go:166
*** slogtest: log detected at level ERROR; TEST FAILURE ***
t.go:106: 2025-06-03 19:52:21.581 [debu] pubsub: pubsub closed
--- FAIL: TestRunStopRace (0.17s)