travis, examples: Run lockup against devnet
This commit is contained in:
parent
14ebb5aa9b
commit
5378a21123
|
@ -55,3 +55,5 @@ jobs:
|
|||
- pushd examples/tutorial/basic-2 && anchor test && popd
|
||||
- pushd examples/tutorial/basic-3 && anchor test && popd
|
||||
- pushd examples/tutorial/basic-4 && anchor test && popd
|
||||
- solana airdrop 10 --url https://devnet.solana.com && solana airdrop 10 --url https://devnet.solana.com
|
||||
- pushd examples/lockup && anchor test && popd
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
cluster = "localnet"
|
||||
cluster = "devnet"
|
||||
wallet = "~/.config/solana/id.json"
|
||||
|
|
|
@ -582,8 +582,8 @@ describe("Lockup and Registry", () => {
|
|||
it("Drops a locked reward", async () => {
|
||||
lockedRewardKind = {
|
||||
locked: {
|
||||
endTs: new anchor.BN(Date.now() / 1000 + 5),
|
||||
periodCount: new anchor.BN(3),
|
||||
endTs: new anchor.BN(Date.now() / 1000 + 6),
|
||||
periodCount: new anchor.BN(2),
|
||||
},
|
||||
};
|
||||
lockedRewardAmount = new anchor.BN(200);
|
||||
|
|
Loading…
Reference in New Issue