Skip to content

Commit 884c0db

Browse files
committed
correct path to gotestsum
1 parent 7c2c91e commit 884c0db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jenkins-integration-build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ fi
133133

134134
set -x # Output all executed shell commands
135135
set +e # allow errors now
136-
gotestsum --junitfile "${INT_LOG_FILE_NAME}.xml" --format standard-verbose -- "${GO_TEST_FLAGS[@]}" -coverprofile=coverage_int.out -coverpkg=github.com/couchbase/sync_gateway/... "github.com/couchbase/sync_gateway/${TARGET_PACKAGE}" 2>&1 | stdbuf -oL tee "${INT_LOG_FILE_NAME}.out.raw" | stdbuf -oL grep -a -E '(--- (FAIL|PASS|SKIP):|github.com/couchbase/sync_gateway(/.+)?|TEST: |panic: )'
136+
~/go/bin/gotestsum --junitfile "${INT_LOG_FILE_NAME}.xml" --format standard-verbose -- "${GO_TEST_FLAGS[@]}" -coverprofile=coverage_int.out -coverpkg=github.com/couchbase/sync_gateway/... "github.com/couchbase/sync_gateway/${TARGET_PACKAGE}" 2>&1 | stdbuf -oL tee "${INT_LOG_FILE_NAME}.out.raw" | stdbuf -oL grep -a -E '(--- (FAIL|PASS|SKIP):|github.com/couchbase/sync_gateway(/.+)?|TEST: |panic: )'
137137
if [ "${PIPESTATUS[0]}" -ne "0" ]; then # If test exit code is not 0 (failed)
138138
echo "Go test failed! Parsing logs to find cause..."
139139
TEST_FAILED=true

0 commit comments

Comments
 (0)