diff --git a/.config/nextest.toml b/.config/nextest.toml index 7544d595..569e91a1 100644 --- a/.config/nextest.toml +++ b/.config/nextest.toml @@ -1,5 +1,5 @@ [profile.default] retries = { backoff = "exponential", count = 5, delay = "1s", jitter = true, max-delay = "10s" } -test-threads = 1 +test-threads = "num-cpus" threads-required = 1 fail-fast = false \ No newline at end of file diff --git a/integration_tests/tests/fixtures/restaking_client.rs b/integration_tests/tests/fixtures/restaking_client.rs index d85d6928..d914a42e 100644 --- a/integration_tests/tests/fixtures/restaking_client.rs +++ b/integration_tests/tests/fixtures/restaking_client.rs @@ -17,7 +17,6 @@ use jito_restaking_sdk::{ warmup_operator_vault_ticket, }, }; -use log::debug; use solana_program::{ instruction::InstructionError, native_token::sol_to_lamports, pubkey::Pubkey, system_instruction::transfer, diff --git a/integration_tests/tests/fixtures/vault_client.rs b/integration_tests/tests/fixtures/vault_client.rs index b065ab5b..709c2718 100644 --- a/integration_tests/tests/fixtures/vault_client.rs +++ b/integration_tests/tests/fixtures/vault_client.rs @@ -1462,7 +1462,8 @@ impl VaultProgramClient { .banks_client .get_new_latest_blockhash(&blockhash) .await - .map_err(|e| e.into())?; + .unwrap(); + self.banks_client .process_transaction_with_preflight_and_commitment( Transaction::new_signed_with_payer(