Skip to content

Commit

Permalink
build error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangzhu70 committed Jan 31, 2023
1 parent 935b6fc commit d991fe5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4365,8 +4365,6 @@ mod tests {
assert!(remove_bank_snapshot(bank.slot(), bank_snapshots_dir).is_ok());

// When the bank snapshot is removed, all the snapshot hardlink directories should be removed.
hardlink_dirs.iter().all(|dir| {
assert!(fs::metadata(hardlink_dir).is_err());
});
assert!(hardlink_dirs.iter().all(|dir| fs::metadata(dir).is_err()));
}
}

0 comments on commit d991fe5

Please sign in to comment.