       XCTAssertEqual(.unknown, (receiveError as! RPCError).callResult!.statusCode)
     }
 
-    waitForExpectations(timeout: defaultTimeout)
+    waitForExpectations(timeout: 2 * defaultTimeout)
   }
 
   func testTimeoutServerStreaming() {

    // rather than returning an error?
    XCTAssertNil(try! call.receive())

    waitForExpectations(timeout: defaultTimeout)
  }

  func testTimeoutBidirectionalStreaming() {

class ServerTimeoutTests: BasicEchoTestCase {
  override func makeProvider() -> Echo_EchoProvider { return TimingOutEchoProvider() }

  override var defaultTimeout: TimeInterval { return 0.01 }
}

extension ServerTimeoutTests {
