]> git.proxmox.com Git - ceph.git/blobdiff - ceph/qa/tasks/mgr/dashboard/test_perf_counters.py
import 15.2.2 octopus source
[ceph.git] / ceph / qa / tasks / mgr / dashboard / test_perf_counters.py
index c3191dc5e941642552f8b4d9cac46c6b28e70f78..c01368bce8db15556db9680751b98e3a507e5b76 100644 (file)
@@ -39,7 +39,7 @@ class PerfCountersControllerTest(DashboardTestCase):
         self._validate_perf(mon, 'mon', data, allow_empty=False)
 
     def test_perf_counters_mgr_get(self):
-        mgr = self.mgr_cluster.mgr_ids[0]
+        mgr = list(self.mgr_cluster.mgr_ids)[0]
         data = self._get('/api/perf_counters/mgr/{}'.format(mgr))
         self.assertStatus(200)
         self._validate_perf(mgr, 'mgr', data, allow_empty=False)