Merge pull request #261 from Icinga/feature/go-test-timeout

Set an explicit timeout for go test
This commit is contained in:
Noah Hilverling 2021-02-19 12:39:57 +01:00 committed by GitHub
commit 0c151c7b5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ./...