]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/cephtool/test.sh: use "sessions" in test_mon_tell()
authorKefu Chai <kchai@redhat.com>
Mon, 18 Nov 2019 07:36:21 +0000 (15:36 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 18 Nov 2019 09:08:07 +0000 (17:08 +0800)
commite96df8c44beb67588dfb8845961ccf269659748b
tree08f7af677f75ac80c9867a264a2f5dd405f6ced2
parent6f7842080d5a9b74c321e9f3a9ca55269e3ba0c9
qa/workunits/cephtool/test.sh: use "sessions" in test_mon_tell()

"version" is not an asok command anymore in the sense that it's served
by registered asock hook. so in this change, we replace "version" with
"sessions", so we can verify that audit channel does not the dispatched
"sessions" command sent from ceph cli.

also, restructure the test as a loop for better readability

Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/cephtool/test.sh