Skip to content

Commit

Permalink
Lowered version of go testify version
Browse files Browse the repository at this point in the history
  • Loading branch information
ygorelik committed Jul 20, 2020
1 parent 1ffc491 commit cddf6e2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion test/gnmi_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,10 @@ function init_go_env {
go_version=$(echo `go version` | awk '{ print $3 }' | cut -d 'o' -f 2)
print_msg "Current Go version is $go_version"

go get github.com/stretchr/testify -b v1.6.1
go get github.com/stretchr/testify
cd $GOPATH/src/github.com/stretchr/testify
git checkout tags/v1.6.1
cd -

export CGO_ENABLED=1
export CGO_LDFLAGS_ALLOW="-fprofile-arcs|-ftest-coverage|--coverage"
Expand Down
5 changes: 4 additions & 1 deletion test/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ function init_go_env {
go_version=$(echo `go version` | awk '{ print $3 }' | cut -d 'o' -f 2)
print_msg "Current Go version is $go_version"

go get github.com/stretchr/testify -b v1.6.1
go get github.com/stretchr/testify
cd $GOPATH/src/github.com/stretchr/testify
git checkout tags/v1.6.1
cd -

export CGO_ENABLED=1
export CGO_LDFLAGS_ALLOW="-fprofile-arcs|-ftest-coverage|--coverage"
Expand Down

0 comments on commit cddf6e2

Please sign in to comment.