chore_: lint-fix fake flaky tests

This commit is contained in:
Igor Sirotin 2024-08-16 22:51:16 +01:00
parent 43922e48c1
commit e7583eabca
No known key found for this signature in database
GPG Key ID: 425E227CAAB81F95
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ func FailIfNoFile(t *testing.T, filename string) {
return
}
err = os.WriteFile(filename, []byte("test"), 0644)
err = os.WriteFile(filename, []byte("test"), 0600)
require.NoError(t, err)
utils.LogFlakiness()

View File

@ -16,7 +16,7 @@ func FailIfNoFile(t *testing.T, filename string) {
return
}
err = os.WriteFile(filename, []byte("test"), 0644)
err = os.WriteFile(filename, []byte("test"), 0600)
require.NoError(t, err)
t.Fatal("file created: ", filename)