Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
emosbaugh committed Feb 1, 2025
1 parent 2014406 commit 6dc1965
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions e2e/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -539,6 +539,12 @@ func TestSingleNodeUpgradePreviousStable(t *testing.T) {
t.Fatalf("fail to download embedded-cluster version %s on node 0: %v: %s: %s", appUpgradeVersion, err, stdout, stderr)
}

t.Logf("%s: re-installing kots cli on node 0", time.Now().Format(time.RFC3339))
line = []string{"install-kots-cli.sh"}
if stdout, stderr, err := tc.RunCommandOnNode(0, line); err != nil {
t.Fatalf("fail to install kots cli on node 0: %v: %s: %s", err, stdout, stderr)
}

t.Logf("%s: checking installation state after noop upgrade", time.Now().Format(time.RFC3339))
line = []string{"check-installation-state.sh", os.Getenv("SHORT_SHA"), k8sVersion()}
if stdout, stderr, err := tc.RunCommandOnNode(0, line); err != nil {
Expand Down Expand Up @@ -708,6 +714,12 @@ func TestUpgradeEC18FromReplicatedApp(t *testing.T) {
t.Fatalf("fail to download embedded-cluster version %s on node 0: %v: %s: %s", appUpgradeVersion, err, stdout, stderr)
}

t.Logf("%s: re-installing kots cli on node 0", time.Now().Format(time.RFC3339))
line = []string{"install-kots-cli.sh"}
if stdout, stderr, err := tc.RunCommandOnNode(0, line); err != nil {
t.Fatalf("fail to install kots cli on node 0: %v: %s: %s", err, stdout, stderr)
}

t.Logf("%s: checking installation state after noop upgrade", time.Now().Format(time.RFC3339))
line = []string{"check-installation-state.sh", os.Getenv("SHORT_SHA"), k8sVersion()}
if stdout, stderr, err := tc.RunCommandOnNode(0, line); err != nil {
Expand Down

0 comments on commit 6dc1965

Please sign in to comment.