Skip to content

Commit 968d34e

Browse files
committed
Fix test failures from interaction between #6120 and #6133
- Add minimum grace period validation (#6133) - VaultClawback: Burn shares of an empty vault (#6120) - LoanSet transaction added in #6120 failed the minimum grace period added by #6133.
1 parent 3f993fa commit 968d34e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/app/Vault_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5324,7 +5324,7 @@ class Vault_test : public beast::unit_test::suite
53245324
// Create a simple Loan for the full amount of Vault assets
53255325
env(set(depositor, brokerKeylet.key, asset(100).value()),
53265326
loan::interestRate(TenthBips32(0)),
5327-
gracePeriod(10),
5327+
gracePeriod(60),
53285328
paymentInterval(120),
53295329
paymentTotal(10),
53305330
sig(sfCounterpartySignature, owner),
@@ -5344,7 +5344,7 @@ class Vault_test : public beast::unit_test::suite
53445344
THISLINE);
53455345
env.close();
53465346

5347-
env.close(std::chrono::seconds{120 + 10});
5347+
env.close(std::chrono::seconds{120 + 60});
53485348

53495349
env(manage(owner, loanKeylet.key, tfLoanDefault),
53505350
ter(tesSUCCESS),

0 commit comments

Comments
 (0)