From 3f026ebd9fa98fe508ebcf793da22b2bfacb7f71 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 27 Jul 2022 23:51:25 +0700 Subject: 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). --- lib/dns/dns_test.go | 4 ++-- 1 file 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 ( -- cgit v1.3