Skip to content

Commit a85d35e

Browse files
committed
test: 增加连接延时
1 parent b0245db commit a85d35e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/UnitTest/Services/TcpSocketFactoryTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public async Task ConnectAsync_Cancel()
7777
cst = new CancellationTokenSource();
7878
_ = Task.Run(async () =>
7979
{
80-
await Task.Delay(50);
80+
await Task.Delay(200);
8181
cst.Cancel();
8282
});
8383
connect = await client.ConnectAsync("localhost", 9999, cst.Token);

0 commit comments

Comments
 (0)