Skip to content

Commit

Permalink
uncomment the e2e test shell
Browse files Browse the repository at this point in the history
Signed-off-by: duanmengkk <[email protected]>
  • Loading branch information
duanmengkk committed Jan 11, 2024
1 parent 1153de8 commit 0ce1800
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions hack/rune2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,11 @@ util::wait_for_condition "mysql operator are ready" \
300
kubectl --context="kind-${HOST_CLUSTER_NAME}" apply -f "${ROOT}"/../test/e2e/deploy/cr

util::wait_for_condition "mysql cr are ready" \
"[ \$(kubectl --context="kind-${HOST_CLUSTER_NAME}" get pods -n kosmos-e2e --field-selector=status.phase=Running -l app.kubernetes.io/name=mysql --no-headers | wc -l) -eq 2 ]" \
1200
sleep 300
kubectl --context=kind-${HOST_CLUSTER_NAME} get pods -n kosmos-e2e
#util::wait_for_condition "mysql cr are ready" \
# "[ \$(kubectl --context=kind-${HOST_CLUSTER_NAME} get pods -n kosmos-e2e --field-selector=status.phase=Running -l app.kubernetes.io/name=mysql --no-headers | wc -l) -eq 2 ]" \
# 1200

echo "E2e test of mysql-operator success"

Expand Down

0 comments on commit 0ce1800

Please sign in to comment.