]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
test/cli-integration/rbd: iSCSI REST API responses aren't pretty-printed anymore
authorIlya Dryomov <idryomov@gmail.com>
Wed, 31 Aug 2022 07:22:05 +0000 (09:22 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Wed, 31 Aug 2022 09:01:12 +0000 (11:01 +0200)
commit1cec9e83c02c366b5274739ae11297b6fca8584f
treee210f4ce890630a8ea6ee9595949fd2b9bc0a1b2
parent976cd1a4e726f61491fff45e01cfda2789d365a6
test/cli-integration/rbd: iSCSI REST API responses aren't pretty-printed anymore

See https://github.com/ceph/ceph-iscsi/pull/263 and
https://github.com/pallets/flask/pull/2193.  Flask stopped
pretty-printing by default in 1.0:

  Change the default for JSONIFY_PRETTYPRINT_REGULAR to False.
  json.jsonify returns a compact format by default, and an indented
  format in debug mode.

Fixes: https://tracker.ceph.com/issues/57343
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
src/test/cli-integration/rbd/rest_api_create.t
src/test/cli-integration/rbd/rest_api_delete.t