Commit 8611ed9b authored by Marc Gravell's avatar Marc Gravell

TestPublishWithSubscribers() - be more patient

parent 2a5c4f7a
......@@ -570,6 +570,10 @@ public async Task TestPublishWithSubscribers()
await Task.WhenAll(t1, t2).ForAwait();
// subscribe is just a thread-race-mess
await listenA.PingAsync();
await listenB.PingAsync();
var pub = conn.GetSubscriber().PublishAsync(channel, "message");
Assert.Equal(2, await pub); // delivery count
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment