fixed race

This commit is contained in:
Christian Köllner 2020-02-23 18:24:16 +01:00
parent f2879bddb2
commit 26d500866e

@ -23,8 +23,9 @@ namespace Capnp.Net.Runtime.Tests
protected TcpRpcClient SetupClient() protected TcpRpcClient SetupClient()
{ {
var client = new TcpRpcClient("localhost", TcpPort); var client = new TcpRpcClient();
client.AddBuffering(); client.AddBuffering();
client.Connect("localhost", TcpPort);
return client; return client;
} }