Browse Source

fixed wait

release/3.x.x
Jan Eggers 7 years ago
parent
commit
e07ead53a9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Tests/MQTTnet.Core.Tests/MqttServerTests.cs

+ 1
- 1
Tests/MQTTnet.Core.Tests/MqttServerTests.cs View File

@@ -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…
Cancel
Save