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:
James M Snell authored and Anna Henningsen committed 2017-08-14 13:19:44 +02:00
1 parent 9d752d5282
commit 97f622b99e
1 file changed
+1 -1
+1 -1
View File
@@ -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();