Skip to content

Commit

Permalink
[qe] increase default timeout for integration tests suite
Browse files Browse the repository at this point in the history
Tests are having false positives due to overall ginkgo timeout default value, this commit will include a mechanism to customize the timeout value when running the tests through the container and also increses the default value to 90 minutes

Signed-off-by: Adrian Riobo Lorenzo <[email protected]>
  • Loading branch information
adrianriobo committed May 20, 2024
1 parent 4e1a5b5 commit 29a49b9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions images/build-integration/lib/windows/run.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ param(
[Parameter(HelpMessage='Name of the folder on the target host under $HOME where all the content will be copied')]
$targetFolder="crc-integration",
[Parameter(HelpMessage='Name for the junit file with the tests results')]
$junitFilename="integration-junit.xml"
$junitFilename="integration-junit.xml",
[Parameter(HelpMessage='Test suite fails if it does not complete within the specified timeout. Default 90m')]
$suiteTimeout="90m"
)

# Prepare run e2e
Expand All @@ -22,7 +24,7 @@ if ($bundleLocation) {
}
# We need to copy the pull-secret to the target folder
$env:PULL_SECRET_PATH="$env:HOME\$targetFolder\pull-secret"
integration.test.exe > integration.results
integration.test.exe --ginkgo.timeout $suiteTimeout > integration.results

# Copy results
cd ..
Expand Down

0 comments on commit 29a49b9

Please sign in to comment.