Skip to content

Commit a657675

Browse files
committed
Skip flaky TestActions on MacOSx (#23966)
(cherry picked from commit 745565c)
1 parent 3f9820b commit a657675

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

auditbeat/module/file_integrity/metricset_test.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,8 @@ func TestActions(t *testing.T) {
130130
}
131131

132132
// Create some files in first directory
133-
go func() {
134-
ioutil.WriteFile(createdFilepath, []byte("hello world"), 0600)
135-
ioutil.WriteFile(updatedFilepath, []byte("hello world"), 0600)
136-
}()
133+
ioutil.WriteFile(createdFilepath, []byte("hello world"), 0600)
134+
ioutil.WriteFile(updatedFilepath, []byte("hello world"), 0600)
137135

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

0 commit comments

Comments
 (0)