mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-11-05 22:16:32 +08:00
Fix unit test
This commit is contained in:
@@ -87,6 +87,8 @@ namespace MQTTnet.Tests.Server
|
|||||||
|
|
||||||
await sender.PublishStringAsync("A", "Payload", MqttQualityOfServiceLevel.AtLeastOnce);
|
await sender.PublishStringAsync("A", "Payload", MqttQualityOfServiceLevel.AtLeastOnce);
|
||||||
|
|
||||||
|
await LongTestDelay();
|
||||||
|
|
||||||
receivedMessages.AssertReceivedCountEquals(1);
|
receivedMessages.AssertReceivedCountEquals(1);
|
||||||
|
|
||||||
server.InterceptingClientEnqueueAsync += e =>
|
server.InterceptingClientEnqueueAsync += e =>
|
||||||
|
|||||||
Reference in New Issue
Block a user