You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/test_helper/README.md
+28-26Lines changed: 28 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,36 +24,38 @@ python3 test_helper.py clean
24
24
### `init` action
25
25
26
26
* Create `<BUCKET_NAME>` in us-west-2.
27
-
*Add the lifecycle to automatic clean up the `upload/` after one day
28
-
* Upload files:
29
-
+`pre-existing-10MB-aes256-c`[SSE-C](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html#sse-c-highlights) encrypted fille
30
-
+`pre-existing-10MB-aes256`[SSE-S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/specifying-s3-encryption.html) encrypted fille
31
-
+`pre-existing-10MB-kms`[SSE-KMS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) encrypted fille
32
-
+`pre-existing-10MB`
33
-
+`pre-existing-1MB`
34
-
+`pre-existing-empty`
35
-
+`pre-existing-error-xml`
36
-
+ with `--large_objects` enabled, several large objects will also be uploaded. Currently, only aws-c-s3's tests require these files, the aws-crt-*** repos do not:
37
-
-`pre-existing-256MB`
38
-
-`pre-existing-256MB-@`
39
-
-`pre-existing-2GB`
40
-
-`pre-existing-2GB-@`
41
-
42
-
*Create`<BUCKET_NAME>-public` in us-west-2
43
-
* Upload files:
44
-
+`pre-existing-1MB` 1MB file with public read access.
27
+
+Add the lifecycle to automatic clean up the `upload/`and clean up incomplete multipart uploads after one day.
28
+
+ Upload files:
29
+
-`pre-existing-10MB-aes256-c`[SSE-C](https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html#sse-c-highlights) encrypted fille
30
+
-`pre-existing-10MB-aes256`[SSE-S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/specifying-s3-encryption.html) encrypted fille
31
+
-`pre-existing-10MB-kms`[SSE-KMS](https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html) encrypted fille
32
+
-`pre-existing-10MB`
33
+
-`pre-existing-1MB`
34
+
-`pre-existing-empty`
35
+
-`pre-existing-error-xml`
36
+
- with `--large_objects` enabled, several large objects will also be uploaded. Currently, only aws-c-s3's tests require these files, the aws-crt-*** repos do not:
37
+
-`pre-existing-256MB`
38
+
-`pre-existing-256MB-@`
39
+
-`pre-existing-2GB`
40
+
-`pre-existing-2GB-@`
41
+
42
+
*with `--create_public_bucket` enabled, create`<BUCKET_NAME>-public` in us-west-2
43
+
+ Upload files:
44
+
-`pre-existing-1MB` 1MB file with public read access.
45
45
46
46
* Create directory bucket `<BUCKET_NAME>--usw2-az1--x-s3` in us-west-2
47
-
* Upload files:
48
-
+`pre-existing-10MB` 10MB file.
49
-
+ with `--large_objects` enabled
50
-
-`pre-existing-2GB`
47
+
+ Add the lifecycle to automatic clean up the `upload/` and clean up incomplete multipart uploads after one day.
48
+
+ Upload files:
49
+
-`pre-existing-10MB` 10MB file.
50
+
- with `--large_objects` enabled
51
+
-`pre-existing-2GB`
51
52
52
53
* Create directory bucket `<BUCKET_NAME>--use1-az4--x-s3` in us-east-1
53
-
* Upload files:
54
-
+`pre-existing-10MB` 10MB file.
55
-
+ with `--large_objects` enabled
56
-
-`pre-existing-2GB`
54
+
+ Add the lifecycle to automatic clean up the `upload/` and clean up incomplete multipart uploads after one day.
Copy file name to clipboardExpand all lines: tests/test_helper/test_helper.py
+12-3Lines changed: 12 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -28,12 +28,17 @@
28
28
parser.add_argument(
29
29
'bucket_name',
30
30
nargs='?',
31
-
help='The bucket name base to use for the test buckets. If not specified, the $CRT_S3_TEST_BUCKET_NAME will be used, if set. Otherwise, a random name will be generated.')
31
+
help='The bucket name base to use for the test buckets. If not specified, the $CRT_S3_TEST_BUCKET_NAME will be used, if set. \
32
+
Otherwise, a random name will be generated.')
32
33
parser.add_argument(
33
34
'--large_objects',
34
35
action='store_true',
35
36
help='enable helper to create pre-existing large objects.')
36
-
37
+
parser.add_argument(
38
+
'--create_public_bucket',
39
+
action='store_true',
40
+
help='Allow script to create a public bucket. If not specified, the script will not attempt to create a public bucket. \
41
+
Note: Some aws-c-s3 tests will fail without public bucket.')
0 commit comments