From: Samuel Just Date: Tue, 9 Jan 2024 19:35:45 +0000 (-0800) Subject: tasks/.../test_erasure_code_profile: assertSubset in test_create_plugin X-Git-Tag: v19.1.0~434^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=ef461914eec14bafb68c9d3c04d3596e547ed559;p=ceph.git tasks/.../test_erasure_code_profile: assertSubset in test_create_plugin Newly added profile options may break this test otherwise. Signed-off-by: Samuel Just --- diff --git a/qa/tasks/mgr/dashboard/test_erasure_code_profile.py b/qa/tasks/mgr/dashboard/test_erasure_code_profile.py index 7fb7c1c8270fa..a509140089343 100644 --- a/qa/tasks/mgr/dashboard/test_erasure_code_profile.py +++ b/qa/tasks/mgr/dashboard/test_erasure_code_profile.py @@ -79,7 +79,7 @@ class ECPTest(DashboardTestCase): self.assertStatus(201) self._get('/api/erasure_code_profile/lrc') - self.assertJsonBody({ + self.assertJsonSubset({ 'crush-device-class': '', 'crush-failure-domain': 'host', 'crush-root': 'default',