From 0d61653c8ea74f4e4fe86c090c117cf05f96d0f3 Mon Sep 17 00:00:00 2001 From: WangXi Date: Wed, 25 Dec 2019 22:16:15 +0800 Subject: [PATCH] Revert to run distributed unittest serially, test=develop (#21924) --- python/paddle/fluid/tests/unittests/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index 867d1a6178e..bbc6b2f4c84 100644 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -278,7 +278,7 @@ if(WITH_DISTRIBUTE) set(dist_ut_port 1000) foreach(TEST_OP ${DIST_TEST_OPS}) message(STATUS "set dist_ut_port=${dist_ut_port} on ${TEST_OP}") - bash_test_modules(${TEST_OP} MODULES dist_test.sh LABELS "RUN_TYPE=EXCLUSIVE" ENVS "PADDLE_DIST_UT_PORT=${dist_ut_port}") + bash_test_modules(${TEST_OP} MODULES dist_test.sh SERIAL LABELS "RUN_TYPE=EXCLUSIVE" ENVS "PADDLE_DIST_UT_PORT=${dist_ut_port}") MATH(EXPR dist_ut_port "${dist_ut_port}+50") endforeach(TEST_OP) endif(NOT APPLE) -- GitLab