Skip to content

Commit

Permalink
Add e2e test for upgrading management-components (#7251)
Browse files Browse the repository at this point in the history
  • Loading branch information
d8660091 authored Jan 5, 2024
1 parent 2414b66 commit 7c8b62f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions test/e2e/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1334,3 +1334,15 @@ func TestDockerKubernetesRegionalCuratedPackages(t *testing.T) {
}
})
}

func TestDockerKubernetesUpgradeManagementComponents(t *testing.T) {
release := latestMinorRelease(t)
test := framework.NewClusterE2ETest(t, framework.NewDocker(t))

test.GenerateClusterConfig()
// create cluster with old eksa
test.CreateCluster(framework.ExecuteWithEksaRelease(release))
// upgrade management-components with new eksa
test.RunEKSA([]string{"upgrade", "management-components", "-f", test.ClusterConfigLocation, "-v", "99"})
test.DeleteCluster()
}

0 comments on commit 7c8b62f

Please sign in to comment.