build: move check of the ports to integration tests

This commit is contained in:
Andrey Samokhvalov 2017-07-11 22:27:15 +03:00 committed by Olaoluwa Osuntokun
parent 7aa7cb1caf
commit cfa09c1cff
1 changed files with 0 additions and 2 deletions

View File

@ -33,7 +33,6 @@ check_test_ports() {
# tool won't gather any useful coverage information from them.
test_with_coverage_profile() {
print "* Running tests with creating coverage profile"
check_test_ports
echo "mode: count" > profile.cov
@ -74,7 +73,6 @@ test_with_coverage_profile() {
# profile but with race condition checks.
test_race_conditions() {
print "* Running tests with the race condition detector"
check_test_ports
test_targets=$(go list ./... | grep -v '/vendor/')
env GORACE="history_size=7 halt_on_error=1" go test -v -p 1 -race $test_targets