diff --git a/ee/localserver/krypto-ec-middleware_test.go b/ee/localserver/krypto-ec-middleware_test.go index 5d4da4e1a..5b417eefb 100644 --- a/ee/localserver/krypto-ec-middleware_test.go +++ b/ee/localserver/krypto-ec-middleware_test.go @@ -87,7 +87,7 @@ func TestKryptoEcMiddleware(t *testing.T) { callbackWaitGroup.Add(2) // assume that if we have presence detection headers, we should have a presence detection callback - if tt.expectedPresenceDetectionCallbackHeaders != nil { + if tt.expectedPresenceDetectionCallbackHeaders != nil && runtime.GOOS != "linux" { callbackWaitGroup.Add(2) }