Skip to content

Commit

Permalink
[auditbeat] Flaky: use CI=true to skip test (#29994)
Browse files Browse the repository at this point in the history
  • Loading branch information
mtojek authored Jan 25, 2022
1 parent ea8f10c commit 33fc960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auditbeat/module/file_integrity/metricset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -988,7 +988,7 @@ func getConfig(path ...string) map[string]interface{} {
}

func skipOnCIForDarwinAMD64(t testing.TB) {
if os.Getenv("BUILD_ID") != "" && runtime.GOOS == "darwin" && runtime.GOARCH == "amd64" {
if os.Getenv("CI") == "true" && runtime.GOOS == "darwin" && runtime.GOARCH == "amd64" {
t.Skip("Skip test on CI for darwin/amd64")
}
}

0 comments on commit 33fc960

Please sign in to comment.