File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
.github/workflows/scripts/e2e Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -444,7 +444,7 @@ function validate_modify_config() {
444
444
fi
445
445
446
446
pods_count=$( kubectl get pods -n $MODIFY_STEP_NAMESPACE --no-headers | grep -v " Terminating" | wc -l)
447
- check_gmc_status $MODIFY_STEP_NAMESPACE ' codegen' $(( pods_count- 1 )) 0 3
447
+ check_gmc_status $MODIFY_STEP_NAMESPACE ' codegen' $(( pods_count)) 0 3
448
448
if [ $? -ne 0 ]; then
449
449
echo " GMC status is not as expected"
450
450
exit 1
@@ -461,7 +461,7 @@ function validate_modify_config() {
461
461
exit 1
462
462
fi
463
463
464
- check_gmc_status $MODIFY_STEP_NAMESPACE ' codegen' $(( pods_count- 1 )) 0 3
464
+ check_gmc_status $MODIFY_STEP_NAMESPACE ' codegen' $(( pods_count)) 0 3
465
465
if [ $? -ne 0 ]; then
466
466
echo " GMC status is not as expected"
467
467
exit 1
@@ -495,7 +495,7 @@ function validate_remove_step() {
495
495
fi
496
496
497
497
pods_count=$( kubectl get pods -n $DELETE_STEP_NAMESPACE --no-headers | grep -v " Terminating" | wc -l)
498
- check_gmc_status $DELETE_STEP_NAMESPACE ' codegen' $(( pods_count- 1 )) 0 3
498
+ check_gmc_status $DELETE_STEP_NAMESPACE ' codegen' $(( pods_count)) 0 3
499
499
if [ $? -ne 0 ]; then
500
500
echo " GMC status is not as expected"
501
501
exit 1
You can’t perform that action at this time.
0 commit comments