summaryrefslogtreecommitdiff
path: root/cli/js/tests/tls_test.ts
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2020-05-11 14:49:19 -0400
committerGitHub <noreply@github.com>2020-05-11 14:49:19 -0400
commitfb7d7f40ed805eab5a0388f04e96224163973624 (patch)
tree02d3c7fcdfc3447a0396697e595526b1e391c92d /cli/js/tests/tls_test.ts
parentb2da8f3d4e8e93d2a593f93963bc8e15d95c54d2 (diff)
Merge std_tests.rs into integration_tests.rs.rs (#5228)
* Remove usage of url_to_filename from integration_tests * Make test ports not conflict with each other
Diffstat (limited to 'cli/js/tests/tls_test.ts')
-rw-r--r--cli/js/tests/tls_test.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/cli/js/tests/tls_test.ts b/cli/js/tests/tls_test.ts
index b971ccf5c..3d071441d 100644
--- a/cli/js/tests/tls_test.ts
+++ b/cli/js/tests/tls_test.ts
@@ -43,7 +43,7 @@ unitTest(
let err;
const options = {
hostname: "localhost",
- port: 4500,
+ port: 3500,
certFile: "cli/tests/tls/localhost.crt",
keyFile: "cli/tests/tls/localhost.key",
};
@@ -75,7 +75,7 @@ unitTest({ perms: { net: true } }, function listenTLSNoReadPerm(): void {
try {
Deno.listenTls({
hostname: "localhost",
- port: 4500,
+ port: 3500,
certFile: "cli/tests/tls/localhost.crt",
keyFile: "cli/tests/tls/localhost.key",
});
@@ -94,7 +94,7 @@ unitTest(
let err;
const options = {
hostname: "localhost",
- port: 4500,
+ port: 3500,
certFile: "cli/tests/tls/localhost.crt",
keyFile: "cli/tests/tls/localhost.key",
};
@@ -123,7 +123,7 @@ unitTest(
let err;
const options = {
hostname: "localhost",
- port: 4500,
+ port: 3500,
certFile: "cli/tests/tls/localhost.crt",
keyFile: "cli/tests/tls/localhost.key",
};
@@ -151,7 +151,7 @@ unitTest(
async function dialAndListenTLS(): Promise<void> {
const resolvable = createResolvable();
const hostname = "localhost";
- const port = 4500;
+ const port = 3500;
const listener = Deno.listenTls({
hostname,