• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

zhmcclient / python-zhmcclient / test-2230 / 9
81%
master: 80%

Build:
Build:
LAST BUILD BRANCH: andy/fix-feature-enabled
DEFAULT BRANCH: master
Ran 28 Jan 2024 02:51AM UTC
Files 53
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jan 2024 02:24AM UTC coverage: 79.308% (-0.08%) from 79.391%
test-2230.9

push

github

andy-maier
Fixed performance issue in list_permitted_lpars/partitions()

Details:

* In zhmcclient version 1.13.0, an optimization was added where list() and
  find_local() were now utilizing the name-to-URI cache when only the
  resource name was specified as a filter argument.
  The Console.list_permitted_lpars/partitions() methods used find_local() to
  look up the parent CPC of the returned LPARs/partitions and specified
  'se-version' as an additional property. However, find_local() uses the
  additional properties only when the resource object was not found in the
  name-to-URI cache. Because of the optimization, the Cpc object was now
  found in the cache, and the 'se-version' property was therefore not
  added anymore.

  The performance degradation was fixed by (1) creating local resource
  objects for the parent CPCs Console.list_permitted_lpars/partitions()
  in order to have better control over the properties they have, and (2) by
  reducing the Cpc objects to one for each real CPC (before we created one
  Cpc object for each Lpar/Partition object.

Signed-off-by: Andreas Maier <maiera@de.ibm.com>

7332 of 9245 relevant lines covered (79.31%)

0.79 hits per line

Source Files on job ubuntu-latest,3.7,minimum - test-2230.9
  • Tree
  • List 53
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 0
  • 07c7fac9 on github
  • Prev Job for on stable_1.13 (#test-2220.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc