]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
workunits/rados/test-clay-profiles: Add tests for CLAY profile configurations
authorNitzan Mordechai <nmordech@redhat.com>
Mon, 20 Jan 2025 13:35:06 +0000 (13:35 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Thu, 13 Feb 2025 10:06:55 +0000 (10:06 +0000)
commit600fcd3ce73b2324d2c161829db0ec9d706902a2
tree9c7d04bc2f7f0de79ae19ecd8b826e7b2b76b694
parente4a07d65e1f0cee330ae45e86d78f16231521b21
workunits/rados/test-clay-profiles: Add tests for CLAY profile configurations

Introduced a test script to validate boundary cases and invalid configurations
for CLAY erasure code profiles.
Scenarios include:
  - Testing valid and invalid ranges for decoding threshold (`d`).
  - Verifying total chunk limits (`k + m + nu <= 254`).
  - Handling invalid parameter combinations for `k`, `m`, and unsupported techniques.
Ensures robustness and correctness of the CLAY profile creation logic.

This script helps identify issues with configuration validation and enforces documented constraints.

Signed-off-by: Nitzan Mordechai <nmordech@redhat.com>
qa/workunits/rados/test-clay-profiles.sh [new file with mode: 0755]