[ORC][RPC] Join server thread before checking condition in unit test.
authorLang Hames <lhames@gmail.com>
Fri, 6 Sep 2019 21:55:43 +0000 (21:55 +0000)
committerLang Hames <lhames@gmail.com>
Fri, 6 Sep 2019 21:55:43 +0000 (21:55 +0000)
commit88cddb7a1c1700b9c57e58e08a24f76bc4dd1d4b
tree4a47943ec1cb7aaf9ef64a219f5f4275f2a682d6
parent7a7bba289521e6d4da199565cf72dc9eaed3d671
[ORC][RPC] Join server thread before checking condition in unit test.

Otherwise we have a race on the sent-messages count.

llvm-svn: 371263
llvm/unittests/ExecutionEngine/Orc/RPCUtilsTest.cpp