From: Zack Cerza Date: Sat, 1 Dec 2018 01:00:03 +0000 (-0700) Subject: mgr/dashboard: Fix a broken ECP controller test X-Git-Tag: v14.1.0~670^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b22d8106d1982b1c9f90d203c645838e265c8d6c;p=ceph.git mgr/dashboard: Fix a broken ECP controller test The change in b3e69a96093 broke the test's assumption that the endpoint wouldn't be readable by block-manager. It doesn't looks as though that's actually problematic for the ECP controller, so just update the test to use rgw-manager instead. Signed-off-by: Zack Cerza --- diff --git a/qa/tasks/mgr/dashboard/test_erasure_code_profile.py b/qa/tasks/mgr/dashboard/test_erasure_code_profile.py index 2a9bd2e5a0a5..955e44dd9105 100644 --- a/qa/tasks/mgr/dashboard/test_erasure_code_profile.py +++ b/qa/tasks/mgr/dashboard/test_erasure_code_profile.py @@ -11,7 +11,7 @@ class ECPTest(DashboardTestCase): AUTH_ROLES = ['pool-manager'] - @DashboardTestCase.RunAs('test', 'test', ['block-manager']) + @DashboardTestCase.RunAs('test', 'test', ['rgw-manager']) def test_read_access_permissions(self): self._get('/api/erasure_code_profile') self.assertStatus(403)