From da7654fa74c5d513bebf4f18ba42dc335b5fc4e2 Mon Sep 17 00:00:00 2001 From: Michael Burman Date: Wed, 18 Sep 2024 14:34:58 +0300 Subject: [PATCH] Fix read_only_fs test --- .../smoke_test_read_only_fs/smoke_test_read_only_fs_test.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/smoke_test_read_only_fs/smoke_test_read_only_fs_test.go b/tests/smoke_test_read_only_fs/smoke_test_read_only_fs_test.go index c1fa3de8..2663cfb7 100644 --- a/tests/smoke_test_read_only_fs/smoke_test_read_only_fs_test.go +++ b/tests/smoke_test_read_only_fs/smoke_test_read_only_fs_test.go @@ -60,7 +60,10 @@ var _ = Describe(testName, func() { ns.WaitForOutputAndLog(step, k, "true", 360) step = "creating a datacenter resource with 1 rack/1 node" - k = kubectl.ApplyFiles(dcYaml) + + testFile, err := ginkgo_util.CreateTestFile(dcYaml) + Expect(err).ToNot(HaveOccurred()) + k = kubectl.ApplyFiles(testFile) ns.ExecAndLog(step, k) ns.WaitForDatacenterReady(dcName)