mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-17 01:33:03 +08:00
fixed wait
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user