]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw/kms/vault - rework unit test logic for new transit logic.
authorMarcus Watts <mwatts@redhat.com>
Fri, 8 Jan 2021 22:49:20 +0000 (17:49 -0500)
committerMarcus Watts <mwatts@redhat.com>
Wed, 10 Mar 2021 01:32:50 +0000 (20:32 -0500)
commit2aef117f84250d06693ffbb0814bec6ded0531ff
tree92bef15f5e2c5ce52b8d518bb7be87bde11557d3
parent5ec24bb7c95505d6b9c16c45252076952fa0cde4
rgw/kms/vault - rework unit test logic for new transit logic.

The "new" transit logic is organized quite differently
than the old logic, so the existing unit test logic was
very broken.  Additionally, it's possible to test the
input arguments and send_request() has more of them now,
so add logic to verify most of those arguments are correct.

Fixes: http://tracker.ceph.com/issues/48746
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit 806a564f53a49586a30ee32d27ec3ab10b015bfa)
src/test/rgw/test_rgw_kms.cc