Available on crate features
integration only.Expand description
Integration tests for custom object store implementations
NB: These tests will delete everything present in the provided DynObjectStore.
These tests are not a stable part of the public API and breaking changes may be made in patch releases.
They are intended solely for testing purposes.
Structs§
- Marker
Http Connector reqwestand not (WASI and WebAssembly) - An
HttpConnectorthat tags the extensions of every HTTP response with a marker, allowingresponse_extensionsto verify their propagation
Functions§
- copy_
if_ not_ exists - Tests copy if not exists
- copy_
rename_ nonexistent_ object - Tests copy and renaming behaviour of non-existent objects
- get_
nonexistent_ object - Tests fetching a non-existent object returns a not found error
- get_
opts - Tests conditional read requests
- list_
paginated - Tests
PaginatedListStore - list_
uses_ directories_ correctly - Tests that directories are transparent
- list_
with_ delimiter - Tests listing with delimiter
- list_
with_ offset_ exclusivity - Tests that
ObjectStore::list_with_offsetreturns an exclusive list that does not include the offset value itself. This is needed because some object stores (i.e. Azure) return inclusive results, while AWS S3 and GCP return exclusive results. - multipart
- Tests
MultipartStore - multipart_
out_ of_ order - Tests performing out of order multipart uploads
- multipart_
put_ part_ out_ of_ order - Tests that
MultipartStore::put_partmay be invoked with non-sequential part indices. - multipart_
race_ condition - Tests a race condition where 2 threads are performing multipart writes to the same path
- multipart_
with_ opts - Tests
MultipartStore::create_multipart_opts - put_
get_ attributes - Tests the ability to read and write
Attributes - put_
get_ delete_ list - Tests basic read/write and listing operations
- put_
opts - Tests conditional writes
- rename_
and_ copy - Tests copying
- response_
extensions reqwestand not (WASI and WebAssembly) - Tests that the extensions of HTTP responses are propagated to returned results
- stream_
get - Tests the ability to perform multipart writes