Skip to content

Commit

Permalink
CI: Change the local DoH port, run go tests, enable -race
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Dec 17, 2019
1 parent 3fce30d commit 3ec6a81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions .ci/ci-test.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#! /bin/sh

DNS_PORT=5300
HTTP_PORT=3000
HTTP_PORT=3053
TEST_COUNT=0

exec 2>error.log
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .ci/test2-dnscrypt-proxy.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 3ec6a81

Please sign in to comment.