Otherwise we have a race on the sent-messages count.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371263
91177308-0d34-0410-b5e6-
96231b3b80d8
EXPECT_FALSE(!!Err) << "Client failed to handle response from void(bool)";
}
+ ServerThread.join();
+
// The client should have made two calls to send: One implicit call to
// negotiate the VoidBool function key, and a second to make the VoidBool
// call.
// the negotiate call, and another to send the response to the VoidBool call.
EXPECT_EQ(Channels.second->SendCalls, 2U)
<< "Expected two send calls to have been made by server";
-
- ServerThread.join();
}
TEST(DummyRPC, TestCallAsyncIntInt) {