run tests with timeout parameter

timeout parameter is supported by the test role: https://pagure.io/standard-test-roles/blob/master/f/roles/standard-test-basic
This commit is contained in:
Bruno Goncalves 2019-08-02 08:43:40 +02:00
parent 6bdad99cd4
commit 2afdae1620

View File

@ -13,8 +13,10 @@
- root-test:
dir: ./
run: ./test_podman.sh
timeout: 15m
- rootless-test:
# running the test with su doesn't create the directory for fedora user on /run/user/
# so create it manually
dir: ./
run: mkdir /run/user/$(id -u fedora); su -c ${PWD}/test_podman.sh - fedora
timeout: 15m