diff options
author | Amar Tumballi <amarts@redhat.com> | 2018-01-18 23:24:04 +0530 |
---|---|---|
committer | Xavier Hernandez <jahernan@redhat.com> | 2018-02-15 08:20:19 +0000 |
commit | 9d0d1fdd091d754149242fd4389b964695aacf13 (patch) | |
tree | e50a69cef28c9818b73e3601c5d5a709f4493bab /tests/bugs | |
parent | c096bec4ec3f3ac33cc0787c60978944792e074e (diff) |
tests: bring option of per test timeout
This uses 'timeout' command with 300 seconds default. Right now,
there is just 1 test which takes more than that in a properly
setup machine.
Ideally best case is set the default to something like 30 seconds,
and if a test is supposed to take more than that, owner should add
a timeout line to test knowingly. That way, it makes test writers
think about a time limit too.
Change-Id: I747005ce1f208aeb2ecbf899e8feea487ecd21a0
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/core/bug-1432542-mpx-restart-crash.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/bugs/core/bug-1432542-mpx-restart-crash.t b/tests/bugs/core/bug-1432542-mpx-restart-crash.t index 5537af84fa1..2179630202d 100644 --- a/tests/bugs/core/bug-1432542-mpx-restart-crash.t +++ b/tests/bugs/core/bug-1432542-mpx-restart-crash.t @@ -1,5 +1,7 @@ #!/bin/bash +SCRIPT_TIMEOUT=300 + . $(dirname $0)/../../include.rc . $(dirname $0)/../../volume.rc . $(dirname $0)/../../traps.rc |