test/meson: increase timeout for some tests

During gitlab-ci, some tests may take a long time. Increase
the default timeout.

(cherry picked from commit 43b28e06ed)
This commit is contained in:
Thomas Haller 2018-10-22 16:14:23 +02:00
parent 3fc592219e
commit aaf6d27ce5
2 changed files with 6 additions and 4 deletions

View file

@ -1,8 +1,8 @@
test_units = [
['test-general', [libnm_utils, libnm_core]],
['test-nm-client', []],
['test-remote-settings-client', []],
['test-secret-agent', []],
['test-general', [libnm_utils, libnm_core], 30],
['test-nm-client', [], 90],
['test-remote-settings-client', [], 90],
['test-secret-agent', [], 90],
]
cflags = [
@ -28,6 +28,7 @@ foreach test_unit: test_units
test(
'libnm/' + test_unit[0],
test_script,
timeout: test_unit[2],
args: test_args + [exe.full_path()]
)
endforeach

View file

@ -12,5 +12,6 @@ exe = executable(
test(
'ifcfg-rh/' + test_unit,
test_script,
timeout: 90,
args: test_args + [exe.full_path()]
)