Skip to content

Commit

Permalink
Final commit
Browse files Browse the repository at this point in the history
Signed-off-by: Parthvi <parthvi.vala@suse.com>
  • Loading branch information
valaparthvi committed Apr 26, 2024
1 parent 8e8d7f9 commit 287f69c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ var _ = Describe("K8sChartSupportImport", func() {
Expect(err).To(BeNil())
err = helper.DeleteEKSClusterOnAWS(region, clusterName)
Expect(err).To(BeNil())
// TODO: Force delete EKS cluster
} else {
fmt.Println("Skipping downstream cluster deletion: ", clusterName)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ func commonchecks(ctx *helpers.Context, cluster *management.Cluster) {
cluster, err = helper.ScaleNodeGroup(cluster, ctx.RancherClient, initialNodeCount)
Expect(err).To(BeNil())

//err = clusters.WaitClusterToBeUpgraded(ctx.RancherClient, cluster.ID)
//Expect(err).To(BeNil())

By("ensuring that the chart is re-installed to the latest version", func() {
Eventually(func() int {
charts := helpers.ListOperatorChart()
Expand All @@ -161,6 +158,7 @@ func commonchecks(ctx *helpers.Context, cluster *management.Cluster) {
}, tools.SetTimeout(1*time.Minute), 1*time.Second).Should(BeNumerically("==", 0))
})

// We do not use WaitClusterToBeUpgraded because it has been flaky here and times out
var upgradeSuccessful bool
Eventually(func() bool {
for i := range cluster.EKSConfig.NodeGroups {
Expand Down

0 comments on commit 287f69c

Please sign in to comment.