Skip to content

Commit 22ba8fa

Browse files
committed
Skip flaky TestActions on MacOSx (#23966)
(cherry picked from commit 745565c)
1 parent 04d374e commit 22ba8fa

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
@@ -134,10 +134,8 @@ func TestActions(t *testing.T) {
134134
}
135135

136136
// Create some files in first directory
137-
go func() {
138-
ioutil.WriteFile(createdFilepath, []byte("hello world"), 0600)
139-
ioutil.WriteFile(updatedFilepath, []byte("hello world"), 0600)
140-
}()
137+
ioutil.WriteFile(createdFilepath, []byte("hello world"), 0600)
138+
ioutil.WriteFile(updatedFilepath, []byte("hello world"), 0600)
141139

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

0 commit comments

Comments
 (0)