summaryrefslogtreecommitdiff
path: root/js/net_test.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-05-23 21:22:52 +0300
committerGitHub <noreply@github.com>2019-05-23 21:22:52 +0300
commit583a646be7764a686b757418f31ab4d8e0e6a17a (patch)
tree4e1433516acd550b721e4f9f91f6cdc089c85c69 /js/net_test.ts
parent2952fb5405eabbb9e603e90fe2e972e9bddfcadd (diff)
Fix concurrent accepts (#2403)
Diffstat (limited to 'js/net_test.ts')
-rw-r--r--js/net_test.ts2
1 files changed, 0 insertions, 2 deletions
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<void> {
assertEquals(err.message, "Listener has been closed");
});
-/* TODO(ry) Re-enable this test.
testPerm({ net: true }, async function netConcurrentAccept(): Promise<void> {
const listener = Deno.listen("tcp", ":4502");
let acceptErrCount = 0;
@@ -42,7 +41,6 @@ testPerm({ net: true }, async function netConcurrentAccept(): Promise<void> {
await [p, p1];
assertEquals(acceptErrCount, 1);
});
-*/
testPerm({ net: true }, async function netDialListen(): Promise<void> {
const listener = Deno.listen("tcp", ":4500");