Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
Signed-off-by: Itxaka <[email protected]>
  • Loading branch information
Itxaka committed Oct 24, 2023
1 parent 30dc9f1 commit 661e18b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/upgrade_latest_cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var _ = Describe("k3s upgrade manual test", Label("upgrade-latest-with-cli"), fu
Expect(currentVersion).To(ContainSubstring("v"))

By(fmt.Sprintf("Upgrading to: %s", containerImage))
out, err := vm.Sudo("kairos-agent upgrade --force --image " + containerImage)
out, err := vm.Sudo("kairos-agent --debug upgrade --force --image " + containerImage)
Expect(err).ToNot(HaveOccurred(), string(out))
Expect(out).To(ContainSubstring("Upgrade completed"))
Expect(out).To(ContainSubstring(containerImage))
Expand All @@ -78,6 +78,7 @@ var _ = Describe("k3s upgrade manual test", Label("upgrade-latest-with-cli"), fu
return v
// TODO: Add regex semver check here
}, 30*time.Minute, 10*time.Second).ShouldNot(Equal(currentVersion))

})
})
})

0 comments on commit 661e18b

Please sign in to comment.