From d8e4840b491dd294b2cda581eab30605b3bd7a0a Mon Sep 17 00:00:00 2001 From: steviez Date: Mon, 4 Oct 2021 10:35:03 -0500 Subject: [PATCH] Follow up to blockstore test cleanup (#19656) (#20143) --- ledger/src/blockstore_processor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ledger/src/blockstore_processor.rs b/ledger/src/blockstore_processor.rs index 6719e0c75b..6ea975ee18 100644 --- a/ledger/src/blockstore_processor.rs +++ b/ledger/src/blockstore_processor.rs @@ -3127,8 +3127,8 @@ pub mod tests { let ticks_per_slot = 1; genesis_config.ticks_per_slot = ticks_per_slot; - let (ledger_path, blockhash) = create_new_tmp_ledger!(&genesis_config); - let blockstore = Blockstore::open(&ledger_path).unwrap(); + let (ledger_path, blockhash) = create_new_tmp_ledger_auto_delete!(&genesis_config); + let blockstore = Blockstore::open(ledger_path.path()).unwrap(); const ROOT_INTERVAL_SLOTS: Slot = 2; const FULL_SNAPSHOT_ARCHIVE_INTERVAL_SLOTS: Slot = ROOT_INTERVAL_SLOTS * 5;