Skip to content

Commit

Permalink
more debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
alphanota committed Dec 24, 2024
1 parent bdca4f7 commit 419b8fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
})
Expand Down

0 comments on commit 419b8fc

Please sign in to comment.