fixed parallel writes #932

This commit is contained in:
JanEggers
2020-05-27 20:38:34 +02:00
parent 60941c04e5
commit 16180e83ba
2 changed files with 4 additions and 6 deletions
@@ -45,7 +45,7 @@ namespace MQTTnet.AspNetCore.Tests
connection.Transport = pipe;
var ctx = new MqttConnectionContext(serializer, connection);
var tasks = Enumerable.Range(1, 10).Select(_ => Task.Run(async () =>
var tasks = Enumerable.Range(1, 100).Select(_ => Task.Run(async () =>
{
for (int i = 0; i < 100; i++)
{