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

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

Build:
Build:
LAST BUILD BRANCH: andy/fix-feature-enabled
DEFAULT BRANCH: master
Ran 28 Jan 2024 02:30AM UTC
Jobs 13
Files 53
Run time 8s
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: 80.357% (-0.08%) from 80.438%
test-2230

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>

7826 of 9739 relevant lines covered (80.36%)

10.14 hits per line

Jobs
ID Job ID Ran Files Coverage
1 macos-latest,3.12,latest - test-2230.1 28 Jan 2024 02:51AM UTC 53
80.36
GitHub Action Run
2 ubuntu-20.04,3.6,minimum - test-2230.2 28 Jan 2024 02:51AM UTC 53
79.31
GitHub Action Run
3 ubuntu-latest,3.12,latest - test-2230.3 28 Jan 2024 02:51AM UTC 53
80.36
GitHub Action Run
4 ubuntu-latest,3.12,minimum - test-2230.4 28 Jan 2024 02:51AM UTC 53
80.36
GitHub Action Run
5 windows-latest,3.12,minimum - test-2230.5 28 Jan 2024 02:51AM UTC 53
80.36
GitHub Action Run
6 ubuntu-20.04,3.5,latest - test-2230.6 28 Jan 2024 02:51AM UTC 53
79.31
GitHub Action Run
7 macos-latest,3.12,minimum - test-2230.7 28 Jan 2024 02:51AM UTC 53
80.36
GitHub Action Run
8 ubuntu-20.04,3.5,minimum - test-2230.8 28 Jan 2024 02:51AM UTC 53
79.31
GitHub Action Run
9 ubuntu-latest,3.7,minimum - test-2230.9 28 Jan 2024 02:51AM UTC 53
79.31
GitHub Action Run
10 windows-latest,3.5,latest - test-2230.10 28 Jan 2024 02:51AM UTC 53
79.31
GitHub Action Run
11 ubuntu-latest,3.8,latest - test-2230.11 28 Jan 2024 02:51AM UTC 53
80.34
GitHub Action Run
12 windows-latest,3.12,latest - test-2230.12 28 Jan 2024 02:51AM UTC 53
80.36
GitHub Action Run
13 macos-latest,3.5,latest - test-2230.13 28 Jan 2024 02:51AM UTC 53
79.31
GitHub Action Run
Source Files on build test-2230
  • Tree
  • List 53
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 07c7fac9 on github
  • Prev Build on stable_1.13 (#TEST-2220)
  • Next Build on stable_1.13 (#7682971597)
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