Skip to content

Commit

Permalink
🤖 simplify test for now to cover also released versions
Browse files Browse the repository at this point in the history
  • Loading branch information
mudler committed Sep 17, 2022
1 parent f106a85 commit b7b7340
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 @@ -91,7 +91,8 @@ var _ = Describe("k3s upgrade manual test", Label("upgrade-latest-with-cli"), fu
Eventually(func() string {
v, _ = machine.SSHCommand("source /etc/os-release; echo $VERSION")
return v
}, 10*time.Minute, 10*time.Second).Should(ContainSubstring("v0"))
// TODO: Add regex semver check here
}, 10*time.Minute, 10*time.Second).Should(ContainSubstring("v"))
Expect(v).ToNot(Equal(currentVersion))
})
})
Expand Down

0 comments on commit b7b7340

Please sign in to comment.