Skip to content

Commit

Permalink
disabled metricset tests on BK win
Browse files Browse the repository at this point in the history
  • Loading branch information
oakrizan committed Mar 19, 2024
1 parent 774cfd5 commit cc0b76f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions auditbeat/module/file_integrity/metricset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ func TestData(t *testing.T) {

func TestActions(t *testing.T) {
skipOnCIForDarwinAMD64(t)
skipOnBuildkiteWindows(t)

defer abtest.SetupDataDir(t)()

Expand Down Expand Up @@ -154,6 +155,7 @@ func TestActions(t *testing.T) {

func TestExcludedFiles(t *testing.T) {
skipOnCIForDarwinAMD64(t)
skipOnBuildkiteWindows(t)

defer abtest.SetupDataDir(t)()

Expand Down Expand Up @@ -201,6 +203,7 @@ func TestExcludedFiles(t *testing.T) {

func TestIncludedExcludedFiles(t *testing.T) {
skipOnCIForDarwinAMD64(t)
skipOnBuildkiteWindows(t)

defer abtest.SetupDataDir(t)()

Expand Down Expand Up @@ -949,3 +952,9 @@ func skipOnCIForDarwinAMD64(t testing.TB) {
t.Skip("Skip test on CI for darwin/amd64")
}
}

func skipOnBuildkiteWindows(t testing.TB) {
if os.Getenv("BUILDKITE") == "true" && runtime.GOOS == "windows" {
t.Skip("Skip on Buildkite Windows: Shortened TMP problem")
}
}

0 comments on commit cc0b76f

Please sign in to comment.