Skip to content

Commit 914e806

Browse files
committed
test: quick CI test for socket problem on mac runner
1 parent 848beb7 commit 914e806

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

tests/QUICSocket.test.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -852,7 +852,7 @@ describe(QUICSocket.name, () => {
852852
},
853853
{ numRuns: 20 },
854854
);
855-
testProp(
855+
testProp.only(
856856
'new connection failure due to socket errors results in domain error events',
857857
[
858858
testsUtils.bufferArb({
@@ -894,7 +894,7 @@ describe(QUICSocket.name, () => {
894894
// Dummy server
895895
socket.setServer(quicServer as unknown as QUICServer);
896896
await socket.start({
897-
host: '::',
897+
host: '::1',
898898
});
899899
await dualStackSocketSend(
900900
message,
@@ -920,7 +920,11 @@ describe(QUICSocket.name, () => {
920920
await socket.stop();
921921
}
922922
},
923-
{ numRuns: 20 },
923+
{
924+
seed: 528336845,
925+
path: '0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0',
926+
endOnFailure: true,
927+
},
924928
);
925929
testProp(
926930
'new connection failure due start timeout is ignored',
@@ -962,7 +966,7 @@ describe(QUICSocket.name, () => {
962966
// Dummy server
963967
socket.setServer(quicServer as unknown as QUICServer);
964968
await socket.start({
965-
host: '::',
969+
host: '::1',
966970
});
967971
await dualStackSocketSend(
968972
message,

0 commit comments

Comments
 (0)