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. Change-Id: I13c2d97b25cf338873bb89ef1ed45d58e3cdd170 Reviewed-by: Toni Saario <toni.saario@qt.io> Reviewed-by: Dimitrios Apostolou <jimis@qt.io> (cherry picked from commit 333650c596890fb5117c3ab5c4295838600248f2) (cherry picked from commit 09f48964e0f4d8ee2491b4130627210c887913d8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
b93d92f437
commit
ee9fdd3603
@ -68,12 +68,28 @@ instructions:
|
|||||||
condition: property
|
condition: property
|
||||||
property: features
|
property: features
|
||||||
contains_value: AbortTestingOnFirstFailure
|
contains_value: AbortTestingOnFirstFailure
|
||||||
|
|
||||||
|
- 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…
x
Reference in New Issue
Block a user