examples/lockup: Adjust test params

This commit is contained in:
Armani Ferrante 2021-01-30 06:59:11 -08:00
parent 2eeb0690b9
commit 616c2e2fa7
No known key found for this signature in database
GPG Key ID: D597A80BCF8E12B7
1 changed files with 3 additions and 3 deletions

View File

@ -139,8 +139,8 @@ describe("Lockup and Registry", () => {
it("Creates a vesting account", async () => {
const beneficiary = provider.wallet.publicKey;
const endTs = new anchor.BN(Date.now() / 1000 + 3);
const periodCount = new anchor.BN(5);
const endTs = new anchor.BN(Date.now() / 1000 + 5);
const periodCount = new anchor.BN(2);
const depositAmount = new anchor.BN(100);
const vault = new anchor.web3.Account();
@ -220,7 +220,7 @@ describe("Lockup and Registry", () => {
});
it("Waits for a vesting period to pass", async () => {
await serumCmn.sleep(5 * 1000);
await serumCmn.sleep(10 * 1000);
});
it("Withdraws from the vesting account", async () => {