🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(tests): update goleak check condition to use GOLEAK environment variable
Deluanfd620413b83a
diff --git a/scanner/scanner_suite_test.go b/scanner/scanner_suite_test.goindex 6234ecebb..9ee6fc89b 100644--- a/scanner/scanner_suite_test.go+++ b/scanner/scanner_suite_test.go@@ -14,8 +14,8 @@ import ()func TestScanner(t *testing.T) {- // Only run goleak checks when not in CI environment- if os.Getenv("CI") == "" {+ // Only run goleak checks when the GOLEAK env var is set+ if os.Getenv("GOLEAK") != "" {// Detect any goroutine leaks in the scanner code under testdefer goleak.VerifyNone(t,goleak.IgnoreTopFunction("github.com/onsi/ginkgo/v2/internal/interrupt_handler.(*InterruptHandler).registerForInterrupts.func2"),