Skip to content

Commit

Permalink
DAOS-15645 test: change default cont control_method to daos (#15546)
Browse files Browse the repository at this point in the history
Change the default container control_method to daos instead of API.
Update configs to explicitly use API/daos to maintain existing behavior.

Signed-off-by: Dalton Bohning <[email protected]>
  • Loading branch information
daltonbohning authored Dec 9, 2024
1 parent 84a4f34 commit 55a4c8a
Show file tree
Hide file tree
Showing 24 changed files with 50 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/tests/ftest/checksum/csum_basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pool:
scm_size: 3000000000
svcn: 1
container: !mux
control_method: API
properties:
enable_checksum: true
dkeys: !mux
Expand Down
3 changes: 3 additions & 0 deletions src/tests/ftest/container/api_basic_attribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ attrtests:
value:
- NULL
- FAIL

container:
control_method: API
3 changes: 3 additions & 0 deletions src/tests/ftest/container/basic_snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,6 @@ object_class: !mux
obj_class: OC_RP_2G1
OC_RP_2G2:
obj_class: OC_RP_2G2

container:
control_method: API
1 change: 1 addition & 0 deletions src/tests/ftest/container/boundary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pool:
label: pool
set_logmasks: False
container:
control_method: API
akey_size: 5
dkey_size: 5
data_size: 256
Expand Down
3 changes: 3 additions & 0 deletions src/tests/ftest/container/query_attribute.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ server_config:
system_ram_reserved: 1
pool:
scm_size: 1G

container:
control_method: API
3 changes: 3 additions & 0 deletions src/tests/ftest/container/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ object_class: !mux
obj_class: OC_SX
OC_RP_2GX:
obj_class: OC_RP_2GX

container:
control_method: API
1 change: 1 addition & 0 deletions src/tests/ftest/control/dmg_system_cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ server_config:
pool:
scm_size: 1GB
container:
control_method: API
akey_size: 5
dkey_size: 5
data_size: 32
Expand Down
3 changes: 3 additions & 0 deletions src/tests/ftest/dtx/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ server_config:
system_ram_reserved: 1
pool:
scm_size: 1073741824

container:
control_method: API
3 changes: 3 additions & 0 deletions src/tests/ftest/erasurecode/rank_failure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ gen_io_conf:
record_size: "1000"
obj_num: "3"
obj_class: "EC_8P2GX"

container:
control_method: API
1 change: 1 addition & 0 deletions src/tests/ftest/nvme/object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pool_3:
scm_size: 4GB
nvme_size: 350GB
container:
control_method: API
object_qty: 10
record_size:
- 1
Expand Down
3 changes: 3 additions & 0 deletions src/tests/ftest/object/create_many_dkeys.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ pool:
scm_size: 3G
dkeys:
number_of_dkeys: 1000000

container:
control_method: API
3 changes: 3 additions & 0 deletions src/tests/ftest/object/fetch_bad_param.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ server_config:
system_ram_reserved: 1
pool:
scm_size: 1073741824

container:
control_method: API
3 changes: 3 additions & 0 deletions src/tests/ftest/object/integrity.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@ record: !mux
- 32
- 512
- 1024

container:
control_method: APi
3 changes: 3 additions & 0 deletions src/tests/ftest/object/open_bad_param.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ server_config:
system_ram_reserved: 1
pool:
scm_size: 1073741824

container:
control_method: API
3 changes: 3 additions & 0 deletions src/tests/ftest/object/punch_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ server_config:
system_ram_reserved: 1
pool:
scm_size: 1073741824

container:
control_method: API
3 changes: 3 additions & 0 deletions src/tests/ftest/object/update_bad_param.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ server_config:
system_ram_reserved: 1
pool:
scm_size: 1073741824

container:
control_method: API
1 change: 1 addition & 0 deletions src/tests/ftest/osa/dmg_negative_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pool:
nvme_size: 54000000000
svcn: 4
container:
control_method: API
properties:
enable_checksum: true
test_sequence:
Expand Down
1 change: 1 addition & 0 deletions src/tests/ftest/pool/evict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pool:
scm_size: 1G

container:
control_method: API
akey_size: 5
dkey_size: 5
data_size: 32
Expand Down
1 change: 1 addition & 0 deletions src/tests/ftest/rebuild/basic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ pool:
pool_query_timeout: 30
properties: rd_fac:2
container:
control_method: API
akey_size: 5
dkey_size: 5
debug: true
Expand Down
1 change: 1 addition & 0 deletions src/tests/ftest/rebuild/cascading_failures.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pool:
pool_query_timeout: 30
properties: rd_fac:2
container:
control_method: API
akey_size: 5
dkey_size: 5
data_size: 5
Expand Down
1 change: 1 addition & 0 deletions src/tests/ftest/rebuild/delete_objects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ pool:
pool_query_timeout: 30
properties: rd_fac:2
container:
control_method: API
akey_size: 5
dkey_size: 5
sizes: !mux
Expand Down
1 change: 1 addition & 0 deletions src/tests/ftest/rebuild/read_array.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pool:
pool_query_timeout: 30
properties: rd_fac:2
container:
control_method: API
object_qty: 10
record_qty: 10
akey_size: 5
Expand Down
3 changes: 3 additions & 0 deletions src/tests/ftest/telemetry/dkey_akey_enum_punch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ server_config:

pool:
scm_size: 1G

container:
control_method: API
2 changes: 1 addition & 1 deletion src/tests/ftest/util/test_utils_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def __init__(self, namespace):
# Test yaml parameter used to define the control method:
# USE_API - use the API methods to create/destroy containers
# USE_DAOS - use the daos command to create/destroy pools/containers
self.control_method = BasicParameter(self.USE_API, self.USE_API)
self.control_method = BasicParameter(self.USE_DAOS, self.USE_DAOS)

def _log_method(self, name, kwargs):
"""Log the method call with its arguments.
Expand Down

0 comments on commit 55a4c8a

Please sign in to comment.