将fetch pp cache改成使用vcir结构,跑通apnic全量同步
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use rocksdb::WriteBatch;
|
||||
|
||||
use rpki::storage::{FetchCachePpKey, RocksStore};
|
||||
use rpki::storage::RocksStore;
|
||||
|
||||
#[test]
|
||||
fn storage_delete_rrdp_state_works() {
|
||||
@@ -57,15 +57,6 @@ fn storage_raw_iter_prefix_filters_by_prefix() {
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn storage_fetch_cache_pp_key_format_is_stable() {
|
||||
let k = FetchCachePpKey::from_manifest_rsync_uri("rsync://example.net/repo/manifest.mft");
|
||||
assert_eq!(
|
||||
k.as_str(),
|
||||
"fetch_cache_pp:rsync://example.net/repo/manifest.mft"
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn storage_write_batch_accepts_empty_batch() {
|
||||
let temp = tempfile::tempdir().expect("tempdir");
|
||||
|
||||
Reference in New Issue
Block a user