diff --git a/hack/run-e2e.sh b/hack/run-e2e.sh index 7e3fb22dbb09..de95f78b7bec 100755 --- a/hack/run-e2e.sh +++ b/hack/run-e2e.sh @@ -53,7 +53,8 @@ export KUBECONFIG=${KARMADA_APISERVER_KUBECONFIG} export PULL_BASED_CLUSTERS=${PULL_BASED_CLUSTERS} set +e -ginkgo -v --race --trace --fail-fast -p --randomize-all ./test/e2e/ -- --karmada-context=karmada-apiserver +#ginkgo -v --race --trace --fail-fast -p --randomize-all ./test/e2e/ -- --karmada-context=karmada-apiserver +ginkgo -v --race --trace --fail-fast -p --focus="Seamless migration and rollback testing" ./test/e2e/ -- --karmada-context=karmada-apiserver TESTING_RESULT=$? # Collect logs diff --git a/test/e2e/framework/rbac.go b/test/e2e/framework/rbac.go index 455f821ac788..8492a2bfdaff 100644 --- a/test/e2e/framework/rbac.go +++ b/test/e2e/framework/rbac.go @@ -116,6 +116,7 @@ func RemoveClusterRole(client kubernetes.Interface, name string) { ginkgo.By(fmt.Sprintf("Remove ClusterRole(%s)", name), func() { err := client.RbacV1().ClusterRoles().Delete(context.TODO(), name, metav1.DeleteOptions{}) if apierrors.IsNotFound(err) { + klog.Infof("not found, maybe already deleted") return } gomega.Expect(err).ShouldNot(gomega.HaveOccurred())