From 3ec6a814c2a8e549ee0d3287275ca127f29ef55d Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 17 Dec 2019 23:48:01 +0100 Subject: [PATCH] CI: Change the local DoH port, run go tests, enable -race --- .ci/ci-test.sh | 5 +++-- .ci/test2-dnscrypt-proxy.toml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.ci/ci-test.sh b/.ci/ci-test.sh index bf963fdf17..2219f51de5 100755 --- a/.ci/ci-test.sh +++ b/.ci/ci-test.sh @@ -1,7 +1,7 @@ #! /bin/sh DNS_PORT=5300 -HTTP_PORT=3000 +HTTP_PORT=3053 TEST_COUNT=0 exec 2>error.log @@ -24,7 +24,8 @@ rm -f blocked.log ip-blocked.log query.log nx.log whitelisted.log t || ( cd ../dnscrypt-proxy - go build -mod vendor + go test -mod vendor + go build -mod vendor -race ) || fail section diff --git a/.ci/test2-dnscrypt-proxy.toml b/.ci/test2-dnscrypt-proxy.toml index dc56ae9c95..e9a04214aa 100644 --- a/.ci/test2-dnscrypt-proxy.toml +++ b/.ci/test2-dnscrypt-proxy.toml @@ -12,7 +12,7 @@ cloaking_rules = 'cloaking-rules.txt' cache = true [local_doh] -listen_addresses = ['127.0.0.1:3000'] +listen_addresses = ['127.0.0.1:3053'] cert_file = "../dnscrypt-proxy/localhost.pem" cert_key_file = "../dnscrypt-proxy/localhost.pem"