diff --git a/paddle/fluid/operators/send_recv_op_test.cc b/paddle/fluid/operators/send_recv_op_test.cc index d5303eaf50722234d205264e56892b1723104d53..2bb46cecb484fa2b413ccd577be6bf6edee42f99 100644 --- a/paddle/fluid/operators/send_recv_op_test.cc +++ b/paddle/fluid/operators/send_recv_op_test.cc @@ -151,7 +151,7 @@ void StartServerNet(bool is_sparse, std::atomic *initialized) { LOG(INFO) << "server exit"; } -TEST(SendRecvOp, CPUDense) { +TEST(SendRecvOp, DISABLED_CPUDense) { std::atomic initialized{false}; std::thread server_thread(StartServerNet, false, &initialized); while (!initialized) { @@ -197,7 +197,7 @@ TEST(SendRecvOp, CPUDense) { paddle::operators::ListenAndServOp::ResetPort(); } -TEST(SendRecvOp, CPUSparse) { +TEST(SendRecvOp, DISABLED_CPUSparse) { std::atomic initialized; initialized = false; std::thread server_thread(StartServerNet, true, &initialized);