瀏覽代碼

fixed wait

release/3.x.x
Jan Eggers 7 年之前
父節點
當前提交
e07ead53a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      Tests/MQTTnet.Core.Tests/MqttServerTests.cs

+ 1
- 1
Tests/MQTTnet.Core.Tests/MqttServerTests.cs 查看文件

@@ -232,7 +232,7 @@ namespace MQTTnet.Core.Tests
};

//make shure the retainedMessageManagerreceived the package
while (retainMessagemanager.GetMessages(subscribe).Any())
while (!retainMessagemanager.GetMessages(subscribe).Any())
{
await Task.Delay(TimeSpan.FromMilliseconds(10));
}


Loading…
取消
儲存