Skip to content

Commit 6dee98f

Browse files
committed
remove e2e
Signed-off-by: Britania Rodriguez Reyes <[email protected]>
1 parent f63a8da commit 6dee98f

File tree

1 file changed

+0
-33
lines changed

1 file changed

+0
-33
lines changed

test/e2e/cluster_staged_updaterun_test.go

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1953,39 +1953,6 @@ var _ = Describe("Test member cluster join and leave flow with updateRun", Label
19531953
Eventually(bindingBoundActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to mark binding for member cluster %s as bound", allMemberClusterNames[0])
19541954
})
19551955
})
1956-
1957-
Context("Rejoin a member cluster and change to rollout CRP with rollingUpdate", Label("joinleave"), Ordered, Serial, func() {
1958-
It("Should be able to rejoin member cluster 1", func() {
1959-
setMemberClusterToJoin(allMemberClusters[0])
1960-
checkIfMemberClusterHasJoined(allMemberClusters[0])
1961-
})
1962-
1963-
It("Should update the CRP rollout strategy to use rollingUpdate", func() {
1964-
Eventually(func() error {
1965-
var crp placementv1beta1.ClusterResourcePlacement
1966-
if err := hubClient.Get(ctx, client.ObjectKey{Name: crpName}, &crp); err != nil {
1967-
return fmt.Errorf("failed to get CRP %s: %w", crpName, err)
1968-
}
1969-
crp.Spec.Strategy = placementv1beta1.RolloutStrategy{
1970-
Type: placementv1beta1.RollingUpdateRolloutStrategyType,
1971-
}
1972-
return hubClient.Update(ctx, &crp)
1973-
}, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update CRP rollout strategy to rolling update")
1974-
})
1975-
1976-
It("Should verify resources are placed to member cluster 1 and binding status becomes bound", func() {
1977-
// Verify CRP status shows all clusters as bounded with rolling update.
1978-
crpStatusUpdatedActual := crpStatusUpdatedActual(workResourceIdentifiers(), allMemberClusterNames, nil, resourceSnapshotIndex1st)
1979-
Eventually(crpStatusUpdatedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update CRP status as expected with rolling update")
1980-
1981-
// Verify resources are placed on all member clusters.
1982-
checkIfPlacedWorkResourcesOnMemberClustersInUpdateRun(allMemberClusters)
1983-
1984-
// Verify binding for member cluster 1 becomes bound.
1985-
bindingBoundActual := bindingStateActual(crpName, allMemberClusterNames[0], placementv1beta1.BindingStateBound)
1986-
Eventually(bindingBoundActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to mark binding for member cluster %s as bound with rolling update", allMemberClusterNames[0])
1987-
})
1988-
})
19891956
})
19901957

19911958
func createClusterStagedUpdateStrategySucceed(strategyName string) *placementv1beta1.ClusterStagedUpdateStrategy {

0 commit comments

Comments
 (0)