Disabled unstable tests

shanyi15-patch-3
yuyang18 7 years ago
parent 6db9c3c7d6
commit 58100b2e78

@ -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);

@ -63,7 +63,7 @@ void StartServer(std::atomic<bool>* initialized) {
server_thread.join();
}
TEST(SendNcclId, Normal) {
TEST(SendNcclId, DISABLED_Normal) {
std::atomic<bool> initialized{false};
std::thread server_thread(StartServer, &initialized);
while (!initialized) {

Loading…
Cancel
Save