diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-03-16 16:50:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 16:50:58 +0100 |
commit | 0d14a7bd531c76e653ab4fc4e0a81cb25db05ab5 (patch) | |
tree | a02a64344a45e42aaa524cd9405cd4841cc10f1f /cli/js/tests/test_util.ts | |
parent | 7d0b77440e635a666ed1c333df1217dd5fa043c1 (diff) |
try to fix unit test runner on Windows (#4395)
This PR attempts to fix intermittent errors occurring on Windows for "cli/tests/unit_test_runner.ts." Runner has been reworked to create only single TCP listener instead of one listener per worker.
Additionally worker doesn't close TCP socket - it waits for parent process to close the socket and only then exits.
Diffstat (limited to 'cli/js/tests/test_util.ts')
-rw-r--r-- | cli/js/tests/test_util.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cli/js/tests/test_util.ts b/cli/js/tests/test_util.ts index 78147f28c..9b1669744 100644 --- a/cli/js/tests/test_util.ts +++ b/cli/js/tests/test_util.ts @@ -272,10 +272,6 @@ export class SocketReporter implements Deno.TestReporter { async end(msg: Deno.TestEventEnd): Promise<void> { await this.write(msg); } - - close(): void { - this.conn.close(); - } } unitTest(function permissionsMatches(): void { |