Skip to content

Commit

Permalink
Increase timeout for reset service tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rautenrieth-da committed Oct 13, 2021
1 parent 473c044 commit 5667de3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion ledger/sandbox/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ reset_service_pattern = "src/test/suite/**/*ResetService*.scala"
[
da_scala_test_suite(
name = "sandbox-tests{}".format(suffix),
size = size,
srcs = glob(
[pattern],
exclude = exclusions,
Expand Down Expand Up @@ -238,18 +239,20 @@ reset_service_pattern = "src/test/suite/**/*ResetService*.scala"
"@maven//:org_slf4j_slf4j_api",
],
)
for (suffix, pattern, exclusions, flaky) in [
for (suffix, pattern, exclusions, flaky, size) in [
(
"",
"src/test/suite/**/*.scala",
[reset_service_pattern],
False,
"medium", # Default timeout of 5min
),
(
"-resetservice",
reset_service_pattern,
[],
True,
"large", # Reset service tests have a large variance in their run time, use a timeout of 15min
),
]
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ final class ResetServiceOnPostgresqlIT
extends ResetServiceITBase
with SandboxNextFixture
with SandboxBackend.Postgresql {
override def spanScaleFactor: Double = super.spanScaleFactor * 4
override def spanScaleFactor: Double = super.spanScaleFactor * 8
}

0 comments on commit 5667de3

Please sign in to comment.