]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw_cksum: add junit5-based unit test suite
authorMatt Benjamin <mbenjamin@redhat.com>
Fri, 5 Jan 2024 15:40:49 +0000 (10:40 -0500)
committerCasey Bodley <cbodley@redhat.com>
Thu, 4 Jul 2024 20:06:47 +0000 (16:06 -0400)
commitd4fbc5e8a0e558f6695cfa84a4f93963ff85d0ab
tree427a4c4e680ff632a5ccaa3282764983dc594151
parentecac64a2fb611b4cf7202b7bc3b2da47a4e81cbe
rgw_cksum: add junit5-based unit test suite

This can be run by hand with:

./mvnw clean package
./mvnw test -Dtest=PutObjects

The following properties are sourced from the environment:

    AWS_ACCESS_KEY_ID
    AWS_SECRET_ACCESS_KEY

    RGW_HTTP_ENDPOINT_URL
    RGW_HTTPS_ENDPOINT_URL

Then adds:

qa/workunits/rgw: add test driver script for maven suite

Launch it fromn cls.yaml, as with test_librgw_file.h.

Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit e2a65f1d07e00c9fd5686196047724b23722b9bb)
18 files changed:
qa/suites/rgw/verify/0-install.yaml
qa/suites/rgw/verify/tasks/cls.yaml
qa/workunits/rgw/jcksum/.gitignore [new file with mode: 0644]
qa/workunits/rgw/jcksum/.mvn/wrapper/maven-wrapper.jar [new file with mode: 0644]
qa/workunits/rgw/jcksum/.mvn/wrapper/maven-wrapper.properties [new file with mode: 0644]
qa/workunits/rgw/jcksum/README.md [new file with mode: 0644]
qa/workunits/rgw/jcksum/file-1m [new file with mode: 0644]
qa/workunits/rgw/jcksum/file-200b [new file with mode: 0644]
qa/workunits/rgw/jcksum/file-21983b [new file with mode: 0644]
qa/workunits/rgw/jcksum/file-256k [new file with mode: 0644]
qa/workunits/rgw/jcksum/file-8b [new file with mode: 0644]
qa/workunits/rgw/jcksum/mvnw [new file with mode: 0755]
qa/workunits/rgw/jcksum/mvnw.cmd [new file with mode: 0644]
qa/workunits/rgw/jcksum/pom-SNAPSHOT.xml [new file with mode: 0644]
qa/workunits/rgw/jcksum/pom.xml [new file with mode: 0644]
qa/workunits/rgw/jcksum/src/main/java/io/ceph/jcksum/jcksum.java [new file with mode: 0644]
qa/workunits/rgw/jcksum/src/test/java/io/ceph/jcksum/PutObjects.java [new file with mode: 0644]
qa/workunits/rgw/test_awssdkv4_sig.sh [new file with mode: 0755]