Skip to content

Commit

Permalink
fix: fix build script for presubmit tests (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
nolanmar511 authored and aalexand committed Mar 19, 2018
1 parent 1ce7d60 commit 1946aef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions testing/integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ cp -R "testing" "$GOPATH/src/proftest"
# Run test.
cd "$GOPATH/src/proftest"
go get -t -tags=integration .
if [-z "$KOKORO_GITHUB_PULL_REQUEST_NUMBER"]; then
go test -timeout=30m -parallel=3 -tags=integration -run TestAgentIntegration -commit="$COMMIT" -pr="$KOKORO_GITHUB_PULL_REQUEST_NUMBER"
else
if ["$KOKORO_GITHUB_PULL_REQUEST_NUMBER" == ""]; then
go test -timeout=30m -parallel=3 -tags=integration -run TestAgentIntegration -commit="$COMMIT" -branch="$BRANCH" -repo="$REPO"
else
go test -timeout=30m -parallel=3 -tags=integration -run TestAgentIntegration -commit="$COMMIT" -pr="$KOKORO_GITHUB_PULL_REQUEST_NUMBER"
fi

0 comments on commit 1946aef

Please sign in to comment.