Skip to content

Commit

Permalink
Try to fix test by checking the correct file for logs
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily committed Dec 16, 2024
1 parent 5a36d9d commit 610e1e1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/provider_upgrade_k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ var _ = Describe("k3s upgrade test", Label("provider", "provider-upgrade-k8s"),

By("Checking agent provider correct start")
Eventually(func() string {
out, _ := vm.Sudo("cat /var/log/kairos/agent-provider.log")
out, _ := vm.Sudo("cat /var/log/kairos/provider-*.log")
return out
}, 900*time.Second, 10*time.Second).Should(Or(ContainSubstring("One time bootstrap starting"), ContainSubstring("Sentinel exists")))

Expand Down
2 changes: 1 addition & 1 deletion tests/provider_upgrade_latest_k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ var _ = Describe("k3s upgrade test from k8s", Label("provider", "provider-upgrad

By("Checking agent provider correct start")
Eventually(func() string {
out, _ := vm.Sudo("cat /var/log/kairos/agent-provider.log")
out, _ := vm.Sudo("cat /var/log/kairos/provider-*.log")
return out
}, 900*time.Second, 10*time.Second).Should(Or(ContainSubstring("One time bootstrap starting"), ContainSubstring("Sentinel exists")))

Expand Down

0 comments on commit 610e1e1

Please sign in to comment.