Skip to content

Commit e3ab120

Browse files
committed
Fix GOTESTCOMMAND for e2e tests.
1 parent 724bcd4 commit e3ab120

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

scripts/travis/run_tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [ "${BUILD_TYPE}" = "integration" ]; then
1313
SHORTTEST=-short
1414
fi
1515
export SHORTTEST
16-
./test/scripts/run_integration_tests.sh
16+
make integration
1717
elif [ "${TRAVIS_EVENT_TYPE}" = "cron" ] || [[ "${TRAVIS_BRANCH}" =~ ^rel/ ]]; then
1818
if [[ "${OS}" != "darwin" ]]; then
1919
make fulltest -j2

scripts/travis/test.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ chmod +x ~/gimme
1515
eval "$(~/gimme "${GOLANG_VERSION}")"
1616

1717
"${SCRIPTPATH}/../buildtools/install_buildtools.sh" "gotest.tools/gotestsum"
18-
export GOTESTCOMMAND="gotestsum --format pkgname --jsonfile testresults.json --"
1918

2019
if [ "${OS}-${ARCH}" = "linux-arm" ] || [ "${OS}-${ARCH}" = "windows-amd64" ]; then
2120
# for arm, no tests need to be invoked.

test/scripts/e2e_go_tests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,10 @@ fi
9292
echo "PARALLEL_FLAG = ${PARALLEL_FLAG}"
9393

9494
if [ "${#TESTPATTERNS[@]}" -eq 0 ]; then
95-
${GOTESTCOMMAND} --format pkgname --jsonfile integrationtestresults.json -- ${RACE_OPTION} ${PARALLEL_FLAG} -timeout 1h -v ${SHORTTEST} ./...
95+
${GOTESTCOMMAND} ${RACE_OPTION} ${PARALLEL_FLAG} -timeout 1h -v ${SHORTTEST} ./...
9696
else
9797
for TEST in ${TESTPATTERNS[@]}; do
98-
${GOTESTCOMMAND} --format pkgname --jsonfile integrationtestresults.json -- ${RACE_OPTION} ${PARALLEL_FLAG} -timeout 1h -v ${SHORTTEST} -run ${TEST} ./...
98+
${GOTESTCOMMAND} ${RACE_OPTION} ${PARALLEL_FLAG} -timeout 1h -v ${SHORTTEST} -run ${TEST} ./...
9999
done
100100
fi
101101

0 commit comments

Comments
 (0)