Skip to content

Commit 406bbc2

Browse files
authored
fix a badcommit in #383 (#392)
* fix a badcommit in #383 Signed-off-by: KfreeZ <[email protected]> * fix a badcommit in #383 Signed-off-by: KfreeZ <[email protected]> * fix a badcommit in #383 Signed-off-by: KfreeZ <[email protected]> --------- Signed-off-by: KfreeZ <[email protected]>
1 parent b80ae50 commit 406bbc2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/scripts/e2e/gmc_xeon_test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ function validate_modify_config() {
444444
fi
445445

446446
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
448448
if [ $? -ne 0 ]; then
449449
echo "GMC status is not as expected"
450450
exit 1
@@ -461,7 +461,7 @@ function validate_modify_config() {
461461
exit 1
462462
fi
463463

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
465465
if [ $? -ne 0 ]; then
466466
echo "GMC status is not as expected"
467467
exit 1
@@ -495,7 +495,7 @@ function validate_remove_step() {
495495
fi
496496

497497
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
499499
if [ $? -ne 0 ]; then
500500
echo "GMC status is not as expected"
501501
exit 1

0 commit comments

Comments
 (0)