Skip to content

Commit

Permalink
test(model): Increase timeout for performance tests
Browse files Browse the repository at this point in the history
Double the timeout for the two performance related tests for SPDX
expressions because they often time out on the GitHub Windows runners.
Increasing the timeout should be fine because the tests are supposed to
prevent performance regressions on a much larger scale.

Signed-off-by: Martin Nonnenmacher <martin.nonnenmacher@bosch.com>
  • Loading branch information
mnonnenmacher authored and sschuberth committed Feb 28, 2025
1 parent 0fc16c1 commit beb1db8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/src/test/kotlin/licenses/ResolvedLicenseInfoTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ class ResolvedLicenseInfoTest : WordSpec({

"execute in reasonable time for large license info with several OR operators".config(
blockingTest = true,
timeout = 1.seconds
timeout = 2.seconds
) {
runCancellable {
COMPUTATION_HEAVY_RESOLVED_LICENSE_INFO.effectiveLicense(LicenseView.CONCLUDED_OR_DECLARED_AND_DETECTED)
Expand All @@ -148,7 +148,7 @@ class ResolvedLicenseInfoTest : WordSpec({
"toCompoundExpression()" should {
"execute in reasonable time for large license info with several OR operators".config(
blockingTest = true,
timeout = 1.seconds
timeout = 2.seconds
) {
runCancellable {
COMPUTATION_HEAVY_RESOLVED_LICENSE_INFO.toCompoundExpression()
Expand Down

0 comments on commit beb1db8

Please sign in to comment.