From 583a646be7764a686b757418f31ab4d8e0e6a17a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 23 May 2019 21:22:52 +0300 Subject: Fix concurrent accepts (#2403) --- js/net_test.ts | 2 -- 1 file changed, 2 deletions(-) (limited to 'js') diff --git a/js/net_test.ts b/js/net_test.ts index 036f136b8..9f7e621bc 100644 --- a/js/net_test.ts +++ b/js/net_test.ts @@ -21,7 +21,6 @@ testPerm({ net: true }, async function netCloseWhileAccept(): Promise { assertEquals(err.message, "Listener has been closed"); }); -/* TODO(ry) Re-enable this test. testPerm({ net: true }, async function netConcurrentAccept(): Promise { const listener = Deno.listen("tcp", ":4502"); let acceptErrCount = 0; @@ -42,7 +41,6 @@ testPerm({ net: true }, async function netConcurrentAccept(): Promise { await [p, p1]; assertEquals(acceptErrCount, 1); }); -*/ testPerm({ net: true }, async function netDialListen(): Promise { const listener = Deno.listen("tcp", ":4500"); -- cgit v1.2.3