Skip to content

Commit

Permalink
Skip flaky TestActions on MacOSx (elastic#23966)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrsMark authored Feb 23, 2021
1 parent f4b7a25 commit 745565c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions auditbeat/module/file_integrity/metricset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,6 @@ func TestData(t *testing.T) {
func TestActions(t *testing.T) {
defer abtest.SetupDataDir(t)()

if runtime.GOOS == "windows" {
t.Skip("Skipping flaky test: https://github.com/elastic/beats/issues/22518")
}

bucket, err := datastore.OpenBucket(bucketName)
if err != nil {
t.Fatal(err)
Expand Down Expand Up @@ -138,10 +134,8 @@ func TestActions(t *testing.T) {
}

// Create some files in first directory
go func() {
ioutil.WriteFile(createdFilepath, []byte("hello world"), 0600)
ioutil.WriteFile(updatedFilepath, []byte("hello world"), 0600)
}()
ioutil.WriteFile(createdFilepath, []byte("hello world"), 0600)
ioutil.WriteFile(updatedFilepath, []byte("hello world"), 0600)

ms := mbtest.NewPushMetricSetV2(t, getConfig(dir, newDir))
events := mbtest.RunPushMetricSetV2(10*time.Second, 5, ms)
Expand Down

0 comments on commit 745565c

Please sign in to comment.