mirror of
https://github.com/digital-asset/daml.git
synced 2024-09-20 01:07:18 +03:00
Increase timeout for heavy tests in ParticipantPruningIT (#10894)
CHANGELOG_BEGIN CHANGELOG_END
This commit is contained in:
parent
9093c6c7b3
commit
9a1a1015f2
@ -189,7 +189,6 @@ conformance_test(
|
||||
test_tool_args = [
|
||||
"--verbose",
|
||||
"--concurrent-test-runs=1", # lowered from default #procs to reduce flakes - details in https://github.com/digital-asset/daml/issues/7316
|
||||
"--timeout-scale-factor=4", # provide additional time to avoid timing on on longer tests such as PRLocalAndNonLocalRetroactiveDivulgences or PRImmediateAndRetroactiveDivulgence
|
||||
"--include=ParticipantPruningIT",
|
||||
],
|
||||
) if not is_windows else None
|
||||
|
@ -596,6 +596,8 @@ class ParticipantPruningIT extends LedgerTestSuite {
|
||||
"Divulgence pruning succeeds",
|
||||
allocate(SingleParty, SingleParty),
|
||||
runConcurrently = false, // pruning call may interact with other tests
|
||||
// Higher timeout - The test generates a significant number of events
|
||||
timeoutScale = 4.0,
|
||||
)(implicit ec => { case Participants(Participant(alpha, alice), Participant(beta, bob)) =>
|
||||
for {
|
||||
divulgence <- createDivulgence(alice, bob, alpha, beta)
|
||||
@ -618,6 +620,8 @@ class ParticipantPruningIT extends LedgerTestSuite {
|
||||
"Divuglence pruning succeeds if first divulgence is not a disclosure but happens in the same transaction as the create",
|
||||
allocate(SingleParty, SingleParty),
|
||||
runConcurrently = false, // pruning call may interact with other tests
|
||||
// Higher timeout - The test generates a significant number of events
|
||||
timeoutScale = 4.0,
|
||||
)(implicit ec => { case Participants(Participant(alpha, alice), Participant(beta, bob)) =>
|
||||
for {
|
||||
divulgence <- createDivulgence(alice, bob, alpha, beta)
|
||||
@ -642,6 +646,8 @@ class ParticipantPruningIT extends LedgerTestSuite {
|
||||
"Immediate divulgence pruning succeeds",
|
||||
allocate(SingleParty, SingleParty),
|
||||
runConcurrently = false, // pruning call may interact with other tests
|
||||
// Higher timeout - The test generates a significant number of events
|
||||
timeoutScale = 4.0,
|
||||
)(implicit ec => { case Participants(Participant(alpha, alice), Participant(beta, bob)) =>
|
||||
for {
|
||||
divulgence <- createDivulgence(alice, bob, alpha, beta)
|
||||
|
Loading…
Reference in New Issue
Block a user