Skip to content

Commit 991471e

Browse files
committed
test: 更新单元测试
1 parent 6e66e54 commit 991471e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/UnitTest/Services/TcpSocketFactoryTest.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ public async Task ConnectAsync_Timeout()
5252
client.Options.ConnectTimeout = 1;
5353

5454
var connect = await client.ConnectAsync("localhost", 9999);
55+
await Task.Delay(5);
5556
Assert.False(connect);
5657
}
5758

0 commit comments

Comments
 (0)