diff --git a/auditbeat/module/file_integrity/fileinfo_test.go b/auditbeat/module/file_integrity/fileinfo_test.go index 99470c1bed37..ce9d62d1087a 100644 --- a/auditbeat/module/file_integrity/fileinfo_test.go +++ b/auditbeat/module/file_integrity/fileinfo_test.go @@ -30,14 +30,10 @@ import ( ) func TestNewMetadata(t *testing.T) { -<<<<<<< HEAD - f, err := ioutil.TempFile("", "metadata") -======= // Can be removed after https://github.com/elastic/beats/issues/37701 is solved skipOnBuildkiteDarwin(t, "Group check") - f, err := os.CreateTemp(t.TempDir(), "metadata") ->>>>>>> aaa482983c (Deploy K8S Pipeline migration (#38659)) + f, err := ioutil.TempFile("", "metadata") if err != nil { t.Fatal(err) } @@ -103,14 +99,10 @@ func TestNewMetadata(t *testing.T) { } func TestSetUIDSetGIDBits(t *testing.T) { -<<<<<<< HEAD - f, err := ioutil.TempFile("", "setuid") -======= // Can be removed after https://github.com/elastic/beats/issues/37701 is solved skipOnBuildkiteDarwin(t, "Wheel permission issue") - f, err := os.CreateTemp(t.TempDir(), "setuid") ->>>>>>> aaa482983c (Deploy K8S Pipeline migration (#38659)) + f, err := ioutil.TempFile("", "setuid") if err != nil { t.Fatal(err) }