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:
Robert Autenrieth 2020-05-04 13:13:08 +02:00 committed by GitHub
parent 8f9cdeed95
commit 9252515f4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)