diff options
| author | Shulhan <ms@kilabit.info> | 2022-07-27 23:51:25 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2022-07-27 23:51:25 +0700 |
| commit | 3f026ebd9fa98fe508ebcf793da22b2bfacb7f71 (patch) | |
| tree | 673188d9f89bc028fc1976f9b67b0281d165c26b | |
| parent | 9c76b237875f3097ac1149e7790afd9640ccc141 (diff) | |
| download | pakakeh.go-3f026ebd9fa98fe508ebcf793da22b2bfacb7f71.tar.xz | |
lib/dns: change the TLS listen port when testing
This is to prevent the test failed due to the same port number (8053)
has already been used (another DNS server already running).
| -rw-r--r-- | lib/dns/dns_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/dns/dns_test.go b/lib/dns/dns_test.go index 8c338c42..1d9bac6a 100644 --- a/lib/dns/dns_test.go +++ b/lib/dns/dns_test.go @@ -13,8 +13,8 @@ import ( const ( testServerAddress = "127.0.0.1:5300" - testDoTServerAddress = "127.0.0.1:8053" - testTLSPort = 8053 + testDoTServerAddress = "127.0.0.1:18053" + testTLSPort = 18053 ) var ( |
