Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 044debf

Browse files
committed
Decrease number of socket instances in SocketPerformance_MultipleSocketClientAsync_LocalHostServerAsync
Larger number causes listen queue to be exceeded, resulting in client failures due to connection being rejected by server.
1 parent 88a8b91 commit 044debf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Net.Sockets/tests/PerformanceTests/SocketPerformanceAsyncTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public void SocketPerformance_MultipleSocketClientAsync_LocalHostServerAsync()
3737
SocketImplementationType clientType = SocketImplementationType.Async;
3838
int iterations = 200 * _iterations;
3939
int bufferSize = 256;
40-
int socket_instances = 200;
40+
int socket_instances = 20;
4141

4242
var test = new SocketPerformanceTests(_log);
4343

0 commit comments

Comments
 (0)