event is triggered but something is blocking

This commit is contained in:
JanEggers
2018-07-19 21:13:27 +02:00
parent 21048b51ae
commit b55f5ff298
6 changed files with 45 additions and 24 deletions
+3 -1
View File
@@ -253,9 +253,11 @@ namespace MQTTnet.Core.Tests
await c1.ConnectAsync(clientOptions);
await Task.Delay(500);
await s.StopAsync();
await Task.Delay(500);
await Task.Delay(1000);
Assert.IsTrue(disconnectCalled);
}