]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
src/tests/mds: improve test coverage in TestMDSAuthCaps 51317/head
authorRishabh Dave <ridave@redhat.com>
Tue, 9 May 2023 12:32:17 +0000 (18:02 +0530)
committerRishabh Dave <ridave@redhat.com>
Fri, 14 Jul 2023 13:10:40 +0000 (18:40 +0530)
commitbfacee1e4087b097b77b0b6592faa59774b0ec4f
tree762ec608e6d254188141f3af22275771b679cdc7
parent248e9dae261bea8c837eb4a47875c614db016498
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>
src/test/mds/TestMDSAuthCaps.cc