fixed blocking code in networkstrem and reduced sleep in tests

This commit is contained in:
JanEggers
2018-07-19 21:13:28 +02:00
parent b55f5ff298
commit 53bd2a0960
2 changed files with 24 additions and 12 deletions
+2 -2
View File
@@ -253,11 +253,11 @@ namespace MQTTnet.Core.Tests
await c1.ConnectAsync(clientOptions);
await Task.Delay(500);
await Task.Delay(100);
await s.StopAsync();
await Task.Delay(1000);
await Task.Delay(100);
Assert.IsTrue(disconnectCalled);
}