mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
test: fix flaky test-http2-client-unescaped-path on osx
Backport-PR-URL: https://github.com/nodejs/node/pull/14813 Backport-Reviewed-By: Anna Henningsen <anna@addaleax.net> Backport-Reviewed-By: Timothy Gu <timothygu99@gmail.com> PR-URL: https://github.com/nodejs/node/pull/14239 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
1 parent
9d752d5282
commit
97f622b99e
1 file changed
+1
-1
Regular → Executable
+1
-1
@@ -13,7 +13,7 @@ const count = 32;
|
||||
server.listen(0, common.mustCall(() => {
|
||||
const client = http2.connect(`http://localhost:${server.address().port}`);
|
||||
|
||||
let remaining = count;
|
||||
let remaining = count + 1;
|
||||
function maybeClose() {
|
||||
if (--remaining === 0) {
|
||||
server.close();
|
||||
|
||||
Reference in new issue
Block a user