Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
Signed-off-by: wulemao <[email protected]>
  • Loading branch information
wulemao committed Sep 26, 2024
1 parent a1d5507 commit 8260b77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/e2e/framework/work.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ func WaitForWorkToDisappear(client karmada.Interface, namespace, name string) {
return fmt.Errorf("failed to get work(%s/%s), err: %w", namespace, name, err)
}
return nil
}, pollTimeout, pollInterval).Should(gomega.HaveOccurred())
}, pollTimeout, pollInterval).ShouldNot(gomega.HaveOccurred())
}
4 changes: 2 additions & 2 deletions test/e2e/migration_and_rollback_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ var _ = ginkgo.Describe("Seamless migration and rollback testing", func() {

ginkgo.DeferCleanup(func() {
// Delete ClusterRole in member cluster
framework.RemoveClusterRole(member1Client, clusterRoleName)
framework.RemoveClusterRole(member1Client, clusterRole.Name)
// Delete ClusterPropagationPolicy in karmada control plane
framework.RemoveClusterPropagationPolicy(karmadaClient, cpp.Name)

// Verify ClusterRole in member cluster will be deleted automatically after promotion since it has been deleted from Karmada
klog.Infof("Waiting for ClusterRole deleted from cluster(%s)", member1)
framework.WaitClusterRoleDisappearOnCluster(member1, clusterRoleName)
framework.WaitClusterRoleDisappearOnCluster(member1, clusterRole.Name)
})
})

Expand Down

0 comments on commit 8260b77

Please sign in to comment.