From 0a61bc4ea30f818d4c86f4fe1863100ed261c64d Mon Sep 17 00:00:00 2001 From: Jon Cinque Date: Tue, 18 Jan 2022 13:15:08 +0100 Subject: [PATCH] token: Bump compute units in tests (#2752) --- token/program-2022/tests/assert_instruction_count.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/token/program-2022/tests/assert_instruction_count.rs b/token/program-2022/tests/assert_instruction_count.rs index 629fd614..6c77f6d3 100644 --- a/token/program-2022/tests/assert_instruction_count.rs +++ b/token/program-2022/tests/assert_instruction_count.rs @@ -60,7 +60,7 @@ async fn initialize_mint() { #[tokio::test] async fn initialize_account() { let mut pt = ProgramTest::new("spl_token_2022", id(), processor!(Processor::process)); - pt.set_compute_max_units(6_000); // last known 3284 + pt.set_compute_max_units(7_000); // last known 3284 let (mut banks_client, payer, recent_blockhash) = pt.start().await; let owner = Keypair::new(); @@ -112,7 +112,7 @@ async fn initialize_account() { #[tokio::test] async fn mint_to() { let mut pt = ProgramTest::new("spl_token_2022", id(), processor!(Processor::process)); - pt.set_compute_max_units(6_000); // last known 2668 + pt.set_compute_max_units(7_000); // last known 2668 let (mut banks_client, payer, recent_blockhash) = pt.start().await; let owner = Keypair::new(); @@ -229,7 +229,7 @@ async fn transfer() { #[tokio::test] async fn burn() { let mut pt = ProgramTest::new("spl_token_2022", id(), processor!(Processor::process)); - pt.set_compute_max_units(6_000); // last known 2655 + pt.set_compute_max_units(7_000); // last known 2655 let (mut banks_client, payer, recent_blockhash) = pt.start().await; let owner = Keypair::new();