Skip to content

Commit

Permalink
fix tests by upping compute units for variance in ata creation
Browse files Browse the repository at this point in the history
  • Loading branch information
nonergodic committed Apr 4, 2024
1 parent 94e52aa commit 44b817e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ pub struct DispenserSimulator {

impl DispenserSimulator {
pub async fn new() -> Self {
let program_test = ProgramTest::new("token_dispenser", crate::id(), None);
let mut program_test = ProgramTest::new("token_dispenser", crate::id(), None);
program_test.set_compute_max_units(400000);
let (banks_client, genesis_keypair, recent_blockhash) = program_test.start().await;
let mint_keypair = Keypair::new();
let pyth_mint_authority = Keypair::new();
Expand Down

0 comments on commit 44b817e

Please sign in to comment.