Skip to content

Commit e102a43

Browse files
authored
test: try things to reduce flakiness (#1879)
1 parent 6ba1816 commit e102a43

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

scripts/test.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const nodeArgs = [
7272
'--test-force-exit',
7373
'--test-concurrency=1',
7474
'--test',
75-
'--test-timeout=60000',
75+
'--test-timeout=120000',
7676
...flags,
7777
...files,
7878
];

tests/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ export class TestServer {
9595

9696
stop(): Promise<void> {
9797
return new Promise((res, rej) => {
98+
this.#server.closeAllConnections();
9899
this.#server.close(err => {
99100
if (err) {
100101
rej(err);

0 commit comments

Comments
 (0)