Skip to main content

Module integration

Module integration 

Source
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§

MarkerHttpConnectorreqwest and not (WASI and WebAssembly)
An HttpConnector that tags the extensions of every HTTP response with a marker, allowing response_extensions to 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_offset returns 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_part may 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_extensionsreqwest and 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