1592 bug of mqttbufferreader (#1593)

This commit is contained in:
Christian
2022-11-29 20:23:20 +01:00
committed by GitHub
parent 11e64ef018
commit 56750adfe4
13 changed files with 283 additions and 69 deletions
+2
View File
@@ -26,6 +26,8 @@ namespace MQTTnet.Tests.Server
var dummyClient = await testEnvironment.ConnectClient(o => o.WithClientId("A").WithCleanSession(false));
await dummyClient.SubscribeAsync("#", MqttQualityOfServiceLevel.AtLeastOnce);
dummyClient.Dispose();
await LongTestDelay();
// Now inject messages which are appended to the queue of the client.
await server.InjectApplicationMessage("T", "0", qualityOfServiceLevel: MqttQualityOfServiceLevel.AtLeastOnce);