We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f9820b commit a657675Copy full SHA for a657675
1 file changed
auditbeat/module/file_integrity/metricset_test.go
@@ -130,10 +130,8 @@ func TestActions(t *testing.T) {
130
}
131
132
// 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
- }()
+ ioutil.WriteFile(createdFilepath, []byte("hello world"), 0600)
+ ioutil.WriteFile(updatedFilepath, []byte("hello world"), 0600)
137
138
ms := mbtest.NewPushMetricSetV2(t, getConfig(dir, newDir))
139
events := mbtest.RunPushMetricSetV2(10*time.Second, 5, ms)
0 commit comments