Skip to content

Commit 63184ba

Browse files
committed
Fix CI: Remove redundant gpstop and simplify test environment
1 parent 0acd446 commit 63184ba

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/binary-swap-check.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -613,8 +613,6 @@ jobs:
613613
fi
614614
cd ${GITHUB_WORKSPACE}/gpAux/gpdemo
615615
make cluster
616-
source gpdemo-env.sh
617-
gpstop -a
618616
"
619617
620618
# Now run the test script
@@ -625,10 +623,10 @@ jobs:
625623
# 4. Dump & Verify
626624
627625
su - gpadmin -c "
628-
export COORDINATOR_DATA_DIRECTORY=${GITHUB_WORKSPACE}/gpAux/gpdemo/datadirs/qddir/demoDataDir-1
629-
export PGPORT=7000
626+
cd ${GITHUB_WORKSPACE}/gpAux/gpdemo
627+
source gpdemo-env.sh
630628
cd ${SRC_DIR}/src/test/binary_swap
631-
./test_binary_swap.sh -b ${BASELINE_INSTALL_DIR} -c ${CURRENT_INSTALL_DIR} -p 7000
629+
./test_binary_swap.sh -b ${BASELINE_INSTALL_DIR} -c ${CURRENT_INSTALL_DIR} -p ${PGPORT}
632630
" 2>&1 | tee -a "${LOGS_DIR}/details/test_binary_swap.log" || TEST_RESULT=$?
633631
634632
if [[ $TEST_RESULT -ne 0 ]]; then

0 commit comments

Comments
 (0)