Skip to content

Commit

Permalink
no validate
Browse files Browse the repository at this point in the history
  • Loading branch information
waahm7 committed Jul 8, 2024
1 parent 242d4f0 commit e9ba26b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions tests/s3_mock_server_tests.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,17 +206,13 @@ TEST_CASE(multipart_upload_with_network_interface_names_mock_server) {
.object_path_override = object_path,
},
.mock_server = true,
#if !defined(AWS_OS_APPLE) && !defined(AWS_OS_LINUX)
.validate_type = AWS_S3_TESTER_VALIDATE_TYPE_NO_VALIDATE,
#endif
};
struct aws_s3_meta_request_test_results out_results;
aws_s3_meta_request_test_results_init(&out_results, allocator);
if (aws_s3_tester_send_meta_request_with_options(&tester, &put_options, &out_results)) {
#if !defined(AWS_OS_APPLE) && !defined(AWS_OS_LINUX)
if (aws_last_error() == AWS_ERROR_PLATFORM_NOT_SUPPORTED) {
return AWS_OP_SKIP;
}
#endif
ASSERT_TRUE(false, "aws_s3_tester_send_meta_request_with_options(() failed");
}
ASSERT_SUCCESS(aws_s3_tester_send_meta_request_with_options(&tester, &put_options, &out_results));
aws_s3_meta_request_test_results_clean_up(&out_results);
aws_s3_client_release(client);
aws_s3_tester_clean_up(&tester);
Expand Down

0 comments on commit e9ba26b

Please sign in to comment.