Skip to content

Commit

Permalink
tests: Raise timeout for tests that are prome to timeouts
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Jelen <[email protected]>
  • Loading branch information
Jakuje committed Jan 27, 2025
1 parent 014f03f commit 301ff57
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,8 @@ tests = {
'rand': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
'readkeys': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
'tls': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss'], 'is_parallel': false},
'tlsfuzzer': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
'uri': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss']},
'tlsfuzzer': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss'], 'timeout': 90},
'uri': {'suites': ['softokn', 'softhsm', 'kryoptic', 'kryoptic.nss'], 'timeout': 90},
'ecxc': {'suites': ['softhsm', 'kryoptic', 'kryoptic.nss']},
'cms': {'suites': ['softokn', 'kryoptic', 'kryoptic.nss']},
'pinlock': {'suites': ['kryoptic']},
Expand All @@ -157,6 +157,7 @@ test_wrapper = find_program('test-wrapper')

foreach t, extra_args : tests
is_parallel = extra_args.get('is_parallel', true)
timeout = extra_args.get('timeout', 30)
foreach suite : extra_args.get('suites', [])
test(
t,
Expand All @@ -166,7 +167,7 @@ foreach t, extra_args : tests
env: test_env,
depends: test_executables,
is_parallel: false,
timeout: 60,
timeout: timeout,
)
endforeach
endforeach

0 comments on commit 301ff57

Please sign in to comment.