瀏覽代碼

Try removing a sleep call in between tests under Linux.

Daniel Alm 7 年之前
父節點
當前提交
3e6404268d
共有 1 個文件被更改,包括 0 次插入6 次删除
  1. 0 6
      Tests/gRPCTests/EchoTests.swift

+ 0 - 6
Tests/gRPCTests/EchoTests.swift

@@ -76,12 +76,6 @@ class EchoTests: XCTestCase {
     server.server.stop()
     server = nil
 
-    #if os(Linux)
-      // Having to sleep here is really not a good solution,
-      // but it appears to help with fixing test flakes under Linux.
-      Thread.sleep(forTimeInterval: 1.0)
-    #endif
-
     super.tearDown()
   }
 }