Increase Coin timeout for ctest command under sanitized testruns
Reason is that after changing the sanitized testruns to quiet, we have been hitting the 15min output-inactivity timeout. Set it to the same value as the total workitem timeout, effectively disabling it. Pick-to: 6.6 6.5 Change-Id: I13c2d97b25cf338873bb89ef1ed45d58e3cdd170 Reviewed-by: Toni Saario <toni.saario@qt.io> Reviewed-by: Dimitrios Apostolou <jimis@qt.io>
This commit is contained in:
parent
ac039776a6
commit
333650c596
@ -69,12 +69,28 @@ instructions:
|
|||||||
property: features
|
property: features
|
||||||
contains_value: AbortTestingOnFirstFailure
|
contains_value: AbortTestingOnFirstFailure
|
||||||
- !include "{{qt/qtbase}}/coin_module_test_android_start_emulator.yaml"
|
- !include "{{qt/qtbase}}/coin_module_test_android_start_emulator.yaml"
|
||||||
|
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: COIN_COMMAND_OUTPUT_TIMEOUT
|
||||||
|
variableValue: "900"
|
||||||
|
disable_if:
|
||||||
|
condition: property
|
||||||
|
property: features
|
||||||
|
contains_value: UseAddressSanitizer
|
||||||
|
- type: EnvironmentVariable
|
||||||
|
variableName: COIN_COMMAND_OUTPUT_TIMEOUT
|
||||||
|
variableValue: "10800"
|
||||||
|
enable_if:
|
||||||
|
condition: property
|
||||||
|
property: features
|
||||||
|
contains_value: UseAddressSanitizer
|
||||||
|
|
||||||
- type: ExecuteCommand
|
- type: ExecuteCommand
|
||||||
command: "{{.Env.TESTS_ENV_PREFIX}} ctest {{.Env.CTEST_ARGS}}"
|
command: "{{.Env.TESTS_ENV_PREFIX}} ctest {{.Env.CTEST_ARGS}}"
|
||||||
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
executeCommandArgumentSplitingBehavior: SplitAfterVariableSubstitution
|
||||||
ignoreExitCode: false
|
ignoreExitCode: false
|
||||||
maxTimeInSeconds: 10800
|
maxTimeInSeconds: 10800
|
||||||
maxTimeBetweenOutput: 900
|
maxTimeBetweenOutput: "{{.Env.COIN_COMMAND_OUTPUT_TIMEOUT}}"
|
||||||
userMessageOnFailure: >
|
userMessageOnFailure: >
|
||||||
Failed to run tests.
|
Failed to run tests.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user