We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04d374e commit 22ba8faCopy full SHA for 22ba8fa
1 file changed
auditbeat/module/file_integrity/metricset_test.go
@@ -134,10 +134,8 @@ func TestActions(t *testing.T) {
134
}
135
136
// 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
- }()
+ ioutil.WriteFile(createdFilepath, []byte("hello world"), 0600)
+ ioutil.WriteFile(updatedFilepath, []byte("hello world"), 0600)
141
142
ms := mbtest.NewPushMetricSetV2(t, getConfig(dir, newDir))
143
events := mbtest.RunPushMetricSetV2(10*time.Second, 5, ms)
0 commit comments