diff --git a/receiver/sqlserverreceiver/queries_test.go b/receiver/sqlserverreceiver/queries_test.go index 3fc99f2e794a..515d7c8bbc69 100644 --- a/receiver/sqlserverreceiver/queries_test.go +++ b/receiver/sqlserverreceiver/queries_test.go @@ -6,12 +6,17 @@ package sqlserverreceiver import ( "os" "path" + "runtime" "testing" "github.com/stretchr/testify/require" ) func TestQueryIODBWithoutInstanceName(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("Test is failing on Windows, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32519") + } + expected, err := os.ReadFile(path.Join("./testdata", "databaseIOQueryWithoutInstanceName.txt")) require.NoError(t, err) @@ -21,6 +26,10 @@ func TestQueryIODBWithoutInstanceName(t *testing.T) { } func TestQueryIODBWithInstanceName(t *testing.T) { + if runtime.GOOS == "windows" { + t.Skip("Test is failing on Windows, see https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32519") + } + expected, err := os.ReadFile(path.Join("./testdata", "databaseIOQueryWithInstanceName.txt")) require.NoError(t, err)