]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
src/tests/mds: improve test coverage in TestMDSAuthCaps 52581/head
authorRishabh Dave <ridave@redhat.com>
Tue, 9 May 2023 12:32:17 +0000 (18:02 +0530)
committerRishabh Dave <ridave@redhat.com>
Wed, 8 Nov 2023 17:17:04 +0000 (22:47 +0530)
commit8d8592c6d2b3e9f6dffd6dad4c5c78655d42b133
tree60937adb0a5cb21880cfc6348117af4911ad8754
parent819077893f44e8b0215df881e7eaf7159ad4ef00
src/tests/mds: improve test coverage in TestMDSAuthCaps

Currently we check if the right caps parse successfully and the wrong
caps fail to parse. Increase the test coverage by adding one more
tests -- dump the right caps in to a string after the parsing is
successfully and then re-parse the caps and check if re-parsed caps
dumps to the exact same string.

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit bfacee1e4087b097b77b0b6592faa59774b0ec4f)
src/test/mds/TestMDSAuthCaps.cc