mirror of
https://github.com/digital-asset/daml.git
synced 2024-11-13 00:16:19 +03:00
Increase wait time in deduplication tests (#5813)
Deduplication is unreliable around the end of the deduplication window. CHANGELOG_BEGIN CHENGELOG_END
This commit is contained in:
parent
8f9cdeed95
commit
9252515f4a
@ -55,7 +55,7 @@ final class CommandDeduplication(session: LedgerSession) extends LedgerTestSuite
|
||||
failure1 <- ledger.submit(requestA).failed
|
||||
|
||||
// Wait until the end of first deduplication window
|
||||
_ <- Delayed.by(deduplicationSeconds.seconds)(())
|
||||
_ <- Delayed.by((deduplicationSeconds + 1).seconds)(())
|
||||
|
||||
// Submit command A (second deduplication window)
|
||||
_ <- ledger.submit(requestA)
|
||||
@ -160,7 +160,7 @@ final class CommandDeduplication(session: LedgerSession) extends LedgerTestSuite
|
||||
failure1 <- ledger.submitAndWait(requestA).failed
|
||||
|
||||
// Wait until the end of first deduplication window
|
||||
_ <- Delayed.by(deduplicationSeconds.seconds)(())
|
||||
_ <- Delayed.by((deduplicationSeconds + 1).seconds)(())
|
||||
|
||||
// Submit command A (second deduplication window)
|
||||
_ <- ledger.submitAndWait(requestA)
|
||||
|
Loading…
Reference in New Issue
Block a user