aboutsummaryrefslogtreecommitdiffstats
path: root/selftest/suite_test/suitedirA/test_suite/suite.conf
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-06-12 17:54:55 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-06-15 10:53:46 +0200
commitc3cf682afd09272c0faec629cd385cd8c2019d9c (patch)
treea0455ac72cd4ca2cb9e805c076018484c1e4e2b0 /selftest/suite_test/suitedirA/test_suite/suite.conf
parenta75f85a058db6d0b256c4b3137c4144ce20bd73f (diff)
Implement per-test timeout guard
Timeout value can be specified by test in suite.conf: config: suite: <suite_name>: <test_name>: timeout: 2 # 2 seconds timeout Change-Id: I522f51f77f8be64ebfdb5d5e07ba92baf82d7706
Diffstat (limited to 'selftest/suite_test/suitedirA/test_suite/suite.conf')
-rw-r--r--selftest/suite_test/suitedirA/test_suite/suite.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/selftest/suite_test/suitedirA/test_suite/suite.conf b/selftest/suite_test/suitedirA/test_suite/suite.conf
index ff4899a..0426ea7 100644
--- a/selftest/suite_test/suitedirA/test_suite/suite.conf
+++ b/selftest/suite_test/suitedirA/test_suite/suite.conf
@@ -15,3 +15,9 @@ schema:
one_bool_parameter: 'bool_str'
second_list_parameter: ['uint']
+
+config:
+ suite:
+ test_suite:
+ test_timeout:
+ timeout: 1 # timeout in 1 second