Skip to content

Commit 2ccc3b2

Browse files
committed
init and cleanup
1 parent 54cecca commit 2ccc3b2

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Diff for: tests/s3_s3express_client_test.c

+4-1
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,7 @@ TEST_CASE(s3express_client_copy_object_multipart) {
721721
*/
722722
TEST_CASE(s3express_hash_key_test) {
723723
(void)ctx;
724+
aws_s3_library_init(allocator);
724725

725726
struct aws_string *access_key = aws_string_new_from_c_str(allocator, "AccessKey");
726727
struct aws_string *secret_access_key = aws_string_new_from_c_str(allocator, "SecretAccessKey");
@@ -767,5 +768,7 @@ TEST_CASE(s3express_hash_key_test) {
767768
aws_string_destroy(hash_key);
768769
aws_http_headers_release(headers);
769770

770-
return 0;
771+
aws_s3_library_clean_up();
772+
773+
return AWS_OP_SUCCESS;
771774
}

0 commit comments

Comments
 (0)