Skip to content

Commit

Permalink
harden send-transaction-service tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tao-stones committed Jan 17, 2024
1 parent be199e8 commit 2994e75
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions send-transaction-service/src/send_transaction_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,8 @@ mod test {
fn process_transactions() {
solana_logger::setup();

let (genesis_config, mint_keypair) = create_genesis_config(4);
let (mut genesis_config, mint_keypair) = create_genesis_config(4);
genesis_config.fee_rate_governor = solana_sdk::fee_calculator::FeeRateGovernor::new(0, 0);
let (_, bank_forks) = Bank::new_with_bank_forks_for_tests(&genesis_config);
let tpu_address = "127.0.0.1:0".parse().unwrap();
let config = Config {
Expand Down Expand Up @@ -1166,7 +1167,8 @@ mod test {
fn test_retry_durable_nonce_transactions() {
solana_logger::setup();

let (genesis_config, mint_keypair) = create_genesis_config(4);
let (mut genesis_config, mint_keypair) = create_genesis_config(4);
genesis_config.fee_rate_governor = solana_sdk::fee_calculator::FeeRateGovernor::new(0, 0);
let (_, bank_forks) = Bank::new_with_bank_forks_for_tests(&genesis_config);
let tpu_address = "127.0.0.1:0".parse().unwrap();
let config = Config {
Expand Down

0 comments on commit 2994e75

Please sign in to comment.