Skip to content

Commit 37d2b78

Browse files
committed
ci: align device api runner with upstream tests
1 parent 8c1a6cb commit 37d2b78

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/scripts/ci/run_unit_test.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ run_device_api() {
6969
-x FLAGCX_P2P_DISABLE=1
7070
-x LD_LIBRARY_PATH
7171
)
72-
local -a flags=(-b 1M -e 4M -f 2 -R 2)
72+
local -a flags=(-b 1M -e 4M -f 2 -R 1)
7373

7474
declare -p FLAGCX_CI_NODE1_MPI_ARGS >/dev/null 2>&1 || {
7575
echo "The platform set_env script must define FLAGCX_CI_NODE1_MPI_ARGS" >&2
@@ -84,15 +84,15 @@ run_device_api() {
8484

8585
cd "$suite_dir"
8686
mpirun -np "$FLAGCX_CI_INTRA_NP" --allow-run-as-root "${common_env[@]}" \
87-
build/bin/test_device_api "${flags[@]}"
87+
build/bin/test_device_api_intra "${flags[@]}"
8888
mpirun -np "$FLAGCX_CI_INTRA_NP" --allow-run-as-root "${common_env[@]}" \
8989
build/bin/test_device_ir_intra "${flags[@]}"
9090

9191
mpirun --allow-run-as-root \
9292
-np "$FLAGCX_CI_NODE_NP" "${common_env[@]}" "${FLAGCX_CI_NODE1_MPI_ARGS[@]}" \
93-
build/bin/test_device_api "${flags[@]}" \
93+
build/bin/test_device_api_inter "${flags[@]}" \
9494
: -np "$FLAGCX_CI_NODE_NP" "${common_env[@]}" "${FLAGCX_CI_NODE2_MPI_ARGS[@]}" \
95-
build/bin/test_device_api "${flags[@]}"
95+
build/bin/test_device_api_inter "${flags[@]}"
9696
mpirun --allow-run-as-root \
9797
-np "$FLAGCX_CI_NODE_NP" "${common_env[@]}" "${FLAGCX_CI_NODE1_MPI_ARGS[@]}" \
9898
build/bin/test_device_ir_inter "${flags[@]}" \

0 commit comments

Comments
 (0)