Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit
bda6d195af3890ddb4a74d881759b9273bb2cd1d)
Conflicts:
src/test/pybind/test_cephfs.py
- conflict was due to different lines surrounding the patch that
is being backported
# remove directory
purge_dir(b"/snapdiff_test");
-@with_setup(setup_test)
def test_single_target_command():
command = {'prefix': u'session ls', 'format': 'json'}
mds_spec = "a"
# Standby MDSs will return -38
assert(ret == 0 or ret == -38)
-@with_setup(setup_test)
def test_multi_target_command():
mds_get_command = {'prefix': 'status', 'format': 'json'}
inbuf = b''