Makes a new PathBuf instead of moving the test's TempDir (#29220)
This commit is contained in:
parent
249607dbfe
commit
1b0aaf1607
|
@ -444,7 +444,7 @@ fn test_snapshots_have_expected_epoch_accounts_hash() {
|
|||
|
||||
let accounts_dir = TempDir::new().unwrap();
|
||||
let deserialized_bank = snapshot_utils::bank_from_snapshot_archives(
|
||||
&[accounts_dir.into_path()],
|
||||
&[accounts_dir.path().to_path_buf()],
|
||||
&snapshot_config.bank_snapshots_dir,
|
||||
&full_snapshot_archive_info,
|
||||
None,
|
||||
|
|
Loading…
Reference in New Issue