mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-18 02:13:00 +08:00
fixed blocking code in networkstrem and reduced sleep in tests
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user