From a1edc03c491db4d54ec6e7ad4e2cedbae4068bc3 Mon Sep 17 00:00:00 2001 From: Tom Godkin Date: Thu, 4 Jan 2018 15:11:45 +0000 Subject: [PATCH] Pin version of gojsonschema in tests Signed-off-by: Will Martin --- tests/integration/spec.bats | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/integration/spec.bats b/tests/integration/spec.bats index c9ba2aaa..059e4c05 100644 --- a/tests/integration/spec.bats +++ b/tests/integration/spec.bats @@ -81,6 +81,9 @@ function teardown() { run bash -c "GOPATH='$GOPATH' go get github.com/xeipuuv/gojsonschema" [ "$status" -eq 0 ] + run git -C "${GOPATH}/src/github.com/xeipuuv/gojsonschema" reset --hard 6637feb73ee44cd4640bb3def285c29774234c7f + [ "$status" -eq 0 ] + GOPATH="$GOPATH" go build src/runtime-spec/schema/validate.go [ -e ./validate ]