Fix Unit Tests.

This commit is contained in:
Christian
2020-11-15 14:17:18 +01:00
parent 0bc25571e0
commit 02ab0e4903
3 changed files with 8 additions and 9 deletions
@@ -201,7 +201,9 @@ namespace MQTTnet.Extensions.WebSocket4Net
_webSocket.Opened += SuccessHandler;
_webSocket.Error += ErrorHandler;
#pragma warning disable AsyncFixer02 // Long-running or blocking operations inside an async method
_webSocket.Open();
#pragma warning restore AsyncFixer02 // Long-running or blocking operations inside an async method
var exception = await MqttTaskTimeout.WaitAsync(c =>
{