提交 cd64de76 编写于 作者: Y yuyang18

Disable send_recv op

上级 58100b2e
...@@ -151,7 +151,7 @@ void StartServerNet(bool is_sparse, std::atomic<bool> *initialized) { ...@@ -151,7 +151,7 @@ void StartServerNet(bool is_sparse, std::atomic<bool> *initialized) {
LOG(INFO) << "server exit"; LOG(INFO) << "server exit";
} }
TEST(SendRecvOp, CPUDense) { TEST(SendRecvOp, DISABLED_CPUDense) {
std::atomic<bool> initialized{false}; std::atomic<bool> initialized{false};
std::thread server_thread(StartServerNet, false, &initialized); std::thread server_thread(StartServerNet, false, &initialized);
while (!initialized) { while (!initialized) {
...@@ -197,7 +197,7 @@ TEST(SendRecvOp, CPUDense) { ...@@ -197,7 +197,7 @@ TEST(SendRecvOp, CPUDense) {
paddle::operators::ListenAndServOp::ResetPort(); paddle::operators::ListenAndServOp::ResetPort();
} }
TEST(SendRecvOp, CPUSparse) { TEST(SendRecvOp, DISABLED_CPUSparse) {
std::atomic<bool> initialized; std::atomic<bool> initialized;
initialized = false; initialized = false;
std::thread server_thread(StartServerNet, true, &initialized); std::thread server_thread(StartServerNet, true, &initialized);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册