From 01d952edd2854a82ebd2d3eb3d1a7862b3470805 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Sun, 18 Feb 2024 22:05:10 +0330 Subject: [PATCH] fix concurrent count --- .../Engine/Net/BaseHandlerTest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/BaseHandlerTest.cs b/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/BaseHandlerTest.cs index 4688002..614ac2c 100644 --- a/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/BaseHandlerTest.cs +++ b/src/CSharp/EasyMicroservices.Laboratory.Tests/Engine/Net/BaseHandlerTest.cs @@ -86,7 +86,7 @@ public async Task ConcurrentCheckSimpleRequestAndResponse(string request, string var port = await GetHandler(resourceManager).Start(); List> all = new List>(); - for (int i = 0; i < 10; i++) + for (int i = 0; i < 3; i++) { all.Add(Task.Run(async () => { @@ -115,7 +115,7 @@ public async Task ConcurrentSingleHttpClientCheckSimpleRequestAndResponse(string HttpClient httpClient = GetHttpClient(); List> all = new List>(); - for (int i = 0; i < 5; i++) + for (int i = 0; i < 3; i++) { all.Add(Task.Run(async () => {