Skip to content

Commit

Permalink
Fix test by checking the version in os-release for older release
Browse files Browse the repository at this point in the history
Signed-off-by: Dimitris Karakasilis <[email protected]>
  • Loading branch information
jimmykarily committed Dec 17, 2024
1 parent dc48629 commit 3acb5e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/provider_upgrade_k8s_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ var _ = Describe("k3s upgrade test", Label("provider", "provider-upgrade-k8s"),
By("validate upgraded version")
Eventually(func() string {
out, _ = kubectl(vm, "get pods -A")
version, _ := vm.Sudo(getVersionCmd)
version, _ := vm.Sudo(getVersionCmdOsRelease)
fmt.Printf("version = %+v\n", version)
return version
}, 30*time.Minute, 10*time.Second).Should(ContainSubstring(version), func() string {
Expand Down

0 comments on commit 3acb5e1

Please sign in to comment.