mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-30 16:59:52 +00:00
fix(ecstore): preserve Sets listing compatibility
This commit is contained in:
@@ -157,6 +157,18 @@ fn ecstore_implements_storage_list_operations_contract() {
|
||||
assert!(storage_list_operations_type_name::<ECStore>().ends_with("::ECStore"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ecstore_pools_expose_storage_list_operations_contract() {
|
||||
fn assert_contract(store: &ECStore) {
|
||||
let future = store.pools[0]
|
||||
.clone()
|
||||
.list_objects_v2("bucket", "", None, None, 1, false, None, false);
|
||||
drop(future);
|
||||
}
|
||||
|
||||
let _ = assert_contract;
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ecstore_implements_storage_multipart_operations_contract() {
|
||||
assert!(storage_multipart_operations_type_name::<ECStore>().ends_with("::ECStore"));
|
||||
|
||||
Reference in New Issue
Block a user