]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.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>
Tue, 13 Feb 2024 18:28:33 +0000 (13:28 -0500)
commite2a65f1d07e00c9fd5686196047724b23722b9bb
tree8ad961ed0c590dc3d112d6410425e23d8bd4f187
parent5afa3fc52f088d03ddd4ab42c968815af69160cb
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>
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]