Roman Mohr has posted comments on this change. Change subject: host stats: Collect stats from online cpu cores only ......................................................................
Patch Set 9: (1 comment) https://gerrit.ovirt.org/#/c/46269/9/tests/hoststatsTests.py File tests/hoststatsTests.py: Line 149: with MonkeyPatchScope([(caps, 'getNumaTopology', Line 150: self._fakeNumaTopology)]): Line 151: self.assertEqual( Line 152: hoststats._get_cpu_core_stats(first_sample, last_sample), Line 153: self._expectedResult()) > Done Not inlined, but using dict directly Line 154: Line 155: def testSkipStatsOnMissingLastSample(self): Line 156: cpu_sample = {'user': 1.0, 'sys': 2.0} Line 157: -- To view, visit https://gerrit.ovirt.org/46269 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ia9c247f9138e02a9230a0849a04cb2e1705e7fac Gerrit-PatchSet: 9 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Roman Mohr <[email protected]> Gerrit-Reviewer: Francesco Romani <[email protected]> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Nir Soffer <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: Roman Mohr <[email protected]> Gerrit-Reviewer: Roy Golan <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
