dewrich closed pull request #2583: TO Go: upgrade go unit tests to go 1.9.4 URL: https://github.com/apache/trafficcontrol/pull/2583
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/traffic_ops/app/bin/tests/Dockerfile-golangtest b/traffic_ops/app/bin/tests/Dockerfile-golangtest index 3f6eef146..d2723d71e 100644 --- a/traffic_ops/app/bin/tests/Dockerfile-golangtest +++ b/traffic_ops/app/bin/tests/Dockerfile-golangtest @@ -11,7 +11,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # -FROM golang:1.8 +FROM golang:1.9.4 MAINTAINER Dan Kirkwood <[email protected]> ARG DIR=github.com/apache/trafficcontrol @@ -20,6 +20,6 @@ ADD lib /go/src/$DIR/lib WORKDIR /go/src/$DIR/traffic_ops/traffic_ops_golang -CMD bash -c 'go get -v && go test -cover -v $(go list ./... | grep -v vendor/) ../../lib/go-*' +CMD bash -c 'go get -v && go test -cover -v ./... ../../lib/go-tc/...' # # vi:syntax=Dockerfile ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
