From 58100b2e78275cceae17c0b4a26e96b4b99d3cc3 Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Sat, 19 May 2018 22:45:00 +0800 Subject: [PATCH] Disabled unstable tests --- paddle/fluid/operators/detail/grpc_server_test.cc | 2 +- paddle/fluid/operators/test_send_nccl_id.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/operators/detail/grpc_server_test.cc b/paddle/fluid/operators/detail/grpc_server_test.cc index 20b9dc631..cb2b8dd53 100644 --- a/paddle/fluid/operators/detail/grpc_server_test.cc +++ b/paddle/fluid/operators/detail/grpc_server_test.cc @@ -111,7 +111,7 @@ void StartServer(const std::string& endpoint) { // NOTE(yuyang18) : This test is buggy. // 1. We should not use port 8889 before check. // 2. We should not use sleep(2) to sync threads. -TEST(PREFETCH, DISABLE_CPU) { +TEST(PREFETCH, DISABLED_CPU) { // start up a server instance backend std::thread server_thread(StartServer, "127.0.0.1:8889"); sleep(2); diff --git a/paddle/fluid/operators/test_send_nccl_id.cc b/paddle/fluid/operators/test_send_nccl_id.cc index bbae1d54a..719f039a0 100644 --- a/paddle/fluid/operators/test_send_nccl_id.cc +++ b/paddle/fluid/operators/test_send_nccl_id.cc @@ -63,7 +63,7 @@ void StartServer(std::atomic* initialized) { server_thread.join(); } -TEST(SendNcclId, Normal) { +TEST(SendNcclId, DISABLED_Normal) { std::atomic initialized{false}; std::thread server_thread(StartServer, &initialized); while (!initialized) { -- GitLab