Skip to content

Commit bc99e19

Browse files
committed
e2e: fix dbops-restart
1 parent 51b7f3a commit bc99e19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

stackgres-k8s/e2e/spec/dbops-restart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,14 @@ EOF
8686

8787
check_restart_only_pending_restart_is_working() {
8888
reset_cluster
89-
set_restarted_pods "$CLUSTER_NAME-0" "$CLUSTER_NAME-1"
9089

9190
kubectl patch sgcluster -n "$CLUSTER_NAMESPACE" "$CLUSTER_NAME" --type json \
9291
-p '[{"op":"add","path":"/spec/pods/disableConnectionPooling","value":true}]'
9392
wait_until eval "kubectl get sts -n '$CLUSTER_NAMESPACE' '$CLUSTER_NAME' -o template='{{range .spec.template.spec.containers}}.{{end}}' | grep -qxF ...."
9493

9594
kubectl delete pod -n "$CLUSTER_NAMESPACE" "$CLUSTER_NAME-1"
9695
wait_pods_running "$CLUSTER_NAMESPACE" 3
96+
set_restarted_pods "$CLUSTER_NAME-0" "$CLUSTER_NAME-1"
9797

9898
cat << EOF | kubectl create -f -
9999
apiVersion: stackgres.io/v1

0 commit comments

Comments
 (0)