Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CRT submodules to latest releases #652

Merged
merged 2 commits into from
Nov 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions mountpoint-s3-client/src/s3_crt_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1034,10 +1034,9 @@ mod tests {
use super::*;
use test_case::test_case;

/// Test both explicit validation in [Client::new] and implicit limits in the CRT
#[test_case(4 * 1024 * 1024; "less than 5MiB")] // validated in Client::new
#[test_case(10_000_000; "not a multiple of 1024")] // CRT constraint
#[test_case(6 * 1024 * 1024 * 1024; "greater than 5GiB")] // validated in Client::new
/// Test explicit validation in [Client::new]
#[test_case(4 * 1024 * 1024; "less than 5MiB")]
#[test_case(6 * 1024 * 1024 * 1024; "greater than 5GiB")]
fn client_new_fails_with_invalid_part_size(part_size: usize) {
let config = S3ClientConfig {
part_size,
Expand Down
Loading