solana/local-cluster/tests
Xiang Zhu e74bc4e2e7
Add a filter_by_type param for purge_old_bank_snapshots (#31191)
* Add a type_select param for purge_old_bank_snapshots

* Use flags to make the function calls more readable

* Remove the extra purge calls

* replace select_type with filter_by_type

* Add test

* Use matches

* Fix CI test on reference

* use match and call do_purge once

* Let bank_snapshots_dir be TempDir

* remove account_paths in the test

* replace bank with _bank

* Remove create_snapshot_dirs_for_tests, will take the lastest from master

* Fix merge errors
2023-04-17 16:16:41 -07:00
..
common.rs Enforce a minimum of 1 on full and incremental snapshot retention (#30968) 2023-03-30 10:16:36 -05:00
local_cluster.rs Add a filter_by_type param for purge_old_bank_snapshots (#31191) 2023-04-17 16:16:41 -07:00
local_cluster_flakey.rs Add more logging and documentation to flaky optimistic confirmation tests (#29418) 2022-12-27 10:47:45 -07:00
local_cluster_slow_1.rs embeds the new gossip ContactInfo in ClusterInfo (#30022) 2023-02-10 20:07:45 +00:00
local_cluster_slow_2.rs Refactor fault hash injection into lambda (#31093) 2023-04-07 17:50:21 -05:00