fixed wait

This commit is contained in:
Jan Eggers
2017-11-06 12:52:41 +01:00
parent e6e88e132b
commit e07ead53a9
+1 -1
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));
}