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 f0be94a commit 0fb138a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion hack/run-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions test/e2e/framework/rbac.go
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 0fb138a

Please sign in to comment.