Set an explicit timeout for go test

The default value is 10 minutes which is the same as the whole action
has as a timeout. If go test itself aborts before, we should hopefully
get more information on what went wrong.
This commit is contained in:
Julian Brost 2021-02-19 10:51:54 +01:00
parent 85ba397605
commit 4a8be8b296

View file

@ -79,4 +79,4 @@ jobs:
-u${ICINGADB_TEST_MYSQL_USER} -p${ICINGADB_TEST_MYSQL_PASSWORD} ${ICINGADB_TEST_MYSQL_DATABASE} \
<etc/schema/mysql/mysql.schema.sql
go test -v -race ./...
go test -v -race -timeout 5m ./...