Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Component

Test Name

Description

1

Bucket

DS3_BUCKET_TEST1

Create a pool, ds3_connect, list bucket, create 10 buckets, list bucket, destroy all buckets, list buckets, ds3_disconnect, destroy pool

2

DS3_BUCKET_LIST_OBJ

Create pool, connect, create bucket, create 50 objects with random names and prefixes, ds3_bucket_list_obj lists objects in lexical order

3

ds3_disconnect, destroy pool

4

User

DS3_USER_ERROR

Create pool, ds3_connect, verify creating user name and/or email address longer than DS3_MAX_USER_NAME fails

5

DS3_USER_GET

Create multiple users, get each user by name, email, and key

6

DS3_USER_UPDATE

ds3_user_set to change email addresses and access IDs. Verify get of previous email addresses and keys fail and changed email addresses and keys succeed

7

DS3_USER_REMOVE

ds3_user_remove of all users succeeds, verify get each by name, email, and key fails, verify (a repeated) ds3_user_remove of all users fails

8

DS3_USER_RECREATE

Create user, get user by name, email, and key, attempt to re-create same user(s) and check expected error

9

ds3_disconnect, destroy pool

10

Object

DS3_OBJ_CREATE

Create pool, connect, create bucket, create multiple objects with 0-3 delimiters in the prefix and random encoded data

11

DS3_OBJ_RW

Write random amounts of random data to each object and read back to verify

12

DS3_OBJ_INFO

ds3_obj_get_info to verify encoded data, ds3_obj_set_info to change encoded data

13

DS3_OBJ_DESTROY

ds3_obj_destroy all objects checking for success, destroy all objects again checking for error, ds3_bucket_list_obj returns an empty list

14

DS3_OBJ_RECREATE

Create a previously destroyed object checking for success and an empty object, re-create object checking for error

15

ds3_disconnect, destroy pool

16

Multipart

DS3_MULTI_REMOVE_ERR

Create pool, ds3_connect, verify ds3_upload_remove a non-existent upload fails

17

DS3_MULTI_INFO_ERR

Verify ds3_upload_get_info of non-existent bucket or uploads fails

18

DS3_MULTI_LIST_PARTS

Create a multipart object with a random number of parts (2-32), part sizes, and part information. Verify ds3_upload_list_parts list all parts and the part information matches the values set via ds3_part_set_info. Verify the data in each part matches the expected.

19

DS3_MULTI_LIST_MARKER

Issue ds3_upload_list_parts with marker of zero and a number of parts less than created. Verify only parts less than value and greater than marker are returned, the marker points to the next expected part (number + 1) and is_truncated is true. Repeat process to to return all parts (use value of marker returned by previous calls). Last repetition should result in is_truncated being false.

20

DS3_MULTI_CREATE

Create more multipart objects with random number of parts, part sizes, and part information. Verify ds3_bucket_list_multipart list all multipart objects. For each object, verify ds3_upload_list_parts list all parts and the part information matches the values set via ds3_part_set_info. Verify the data in each part matches the expected.

21

DS3_MULTI_REMOVE

Verify removing each previously created multipart object succeeds. Verify removing each previously created multipart object a second time fails.

22

Versioning

DS3_VERSION_MARK

Create pool, connect, create bucket, and create multiple versions of an object, each with different data. Mark one as the latest and verify *.[latest] contains the expected data

1923

DS3_VERSION_LIST

Verify ds3_bucket_list_obj does not return object versions when the list_versions parameter is false but does when the parameter is true

2024

ds3_disconnect, destroy pool

...