From 419b8fc19ef368ad6a690a8b3a153b5739c4a774 Mon Sep 17 00:00:00 2001 From: Angel Montero Date: Tue, 24 Dec 2024 07:38:13 +0000 Subject: [PATCH] more debug lines --- integration/sync_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/sync_test.go b/integration/sync_test.go index e35a0cf3f01..92f6b2c3cd1 100644 --- a/integration/sync_test.go +++ b/integration/sync_test.go @@ -105,7 +105,7 @@ func TestDevSyncDefaultNamespace(t *testing.T) { } id := "test-file-sync-" + uuid.New().String() ops := []byte( - `--- + `--- - op: replace path: /metadata/name value: ` + id) @@ -234,7 +234,7 @@ func TestDevAutoSync(t *testing.T) { } defer func() { os.Truncate(directFilePath, 0) }() - err := wait.PollImmediate(time.Millisecond*500, 1*time.Minute, func() (bool, error) { + err = wait.PollImmediate(time.Millisecond*500, 1*time.Minute, func() (bool, error) { out, _ := exec.Command("kubectl", "exec", "test-file-sync", "-n", ns.Name, "--", "cat", directFile).Output() return string(out) == directFileData, nil })