Skip to content

Commit 992b151

Browse files
committed
increase test timeout to 30m
1 parent 17db28d commit 992b151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/run-unit-tests-container.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ echo HUGOT_BUILD_TAG is "$HUGOT_BUILD_TAG"
1010

1111
if [[ -n $HUGOT_BUILD_TAG ]]; then
1212
echo "running with -tags=ALL"
13-
gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -tags=ALL -coverprofile=/test/unit/cover.out.pre -coverpkg ./... -race -covermode=atomic ./...
13+
gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -tags=ALL -coverprofile=/test/unit/cover.out.pre -coverpkg ./... -timeout 30m -race -covermode=atomic ./...
1414
else
1515
echo "running without build tags"
16-
gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -coverprofile=/test/unit/cover.out.pre ./... -race -covermode=atomic ./...
16+
gotestsum --junitfile=/test/unit/unit.xml --jsonfile=/test/unit/unit.json -- -coverprofile=/test/unit/cover.out.pre ./... -timeout 30m -race -covermode=atomic ./...
1717
fi
1818

1919
grep -v "downloadModels.go" /test/unit/cover.out.pre > /test/unit/cover.out && rm /test/unit/cover.out.pre

0 commit comments

Comments
 (0)