From e7583eabca7bb2f8e1ee2bc88934f29728a18d06 Mon Sep 17 00:00:00 2001 From: Igor Sirotin Date: Fri, 16 Aug 2024 22:51:16 +0100 Subject: [PATCH] chore_: lint-fix fake flaky tests --- flaky-packages/package-2/main_test.go | 2 +- flaky-packages/package-4/main_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/flaky-packages/package-2/main_test.go b/flaky-packages/package-2/main_test.go index 612c7618c..89ff49536 100644 --- a/flaky-packages/package-2/main_test.go +++ b/flaky-packages/package-2/main_test.go @@ -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() diff --git a/flaky-packages/package-4/main_test.go b/flaky-packages/package-4/main_test.go index 4d4c74fdf..118d76321 100644 --- a/flaky-packages/package-4/main_test.go +++ b/flaky-packages/package-4/main_test.go @@ -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)