Fix Xamarin connect freeze (#1545)

This commit is contained in:
Christian
2022-10-23 07:51:19 +02:00
committed by GitHub
parent 7823d8342e
commit 36736914bc
3 changed files with 23 additions and 3 deletions
@@ -123,7 +123,7 @@ namespace MQTTnet.Tests.Client
//Assert.IsInstanceOfType(exception.InnerException, typeof(SocketException));
}
await Task.Delay(100); // disconnected handler is called async
await LongTestDelay(); // disconnected handler is called async
Assert.IsTrue(disconnectHandlerCalled);
}
}