]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
test/cli-integration/rbd: iSCSI REST API responses aren't pretty-printed anymore 52283/head
authorIlya Dryomov <idryomov@gmail.com>
Wed, 31 Aug 2022 07:22:05 +0000 (09:22 +0200)
committerIlya Dryomov <idryomov@gmail.com>
Sun, 2 Jul 2023 09:17:46 +0000 (11:17 +0200)
commit74e6326270f90bd697643d41b7bfa38971ddfbac
tree5020e6aa5068cad5552944d21296f9d18798e9ea
parent7733b29f11e84ec922b48bdc9a761c7c687abb70
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>
(cherry picked from commit 1cec9e83c02c366b5274739ae11297b6fca8584f)
src/test/cli-integration/rbd/rest_api_create.t
src/test/cli-integration/rbd/rest_api_delete.t