|
Ran
|
Jobs
8
|
Files
64
|
Run time
1min
|
Badge
README BADGES
|
push
github
Pinned stop to <9 again; Other improvements for stomp (#2279) (#2296) Details: * Changed pinning of stomp.py from <8.3.0 to <9.0.0. The 8.3.0 version is meanwhile yanked, but the changes in version 9.0.0 have not yet been accommodated in zhmcclient. * In preparation of future stomp version 9 support, added explicit enabling or disabling of certificate validation with stomp, in the NotificationReceiver and AutoUpdater classes. * To check the stomp version, added a new parse_version() function to the zhmcclient._utils module that translates the stomp version string into a tuple of int values. Added unit test cases for parse_version(). * The AutoUpdater.open() method has been changed to no longer raise stomp exceptions directly. Such exceptions are now raised as zhmcclient.NotificationConnectionError. Added an incompatibility change log entry about that change. The other class that connects to stomp, NotificationReceiver already raises stomp exceptions as zhmcclient.NotificationConnectionError, so this is now consistent. * Added logging before opening and closing the JMS (stomp) connection in the zhmcclient auto-update support, to provide context for any errors logged during opening and closing the connection. (cherry picked from commit 53c710322) Signed-off-by: Andreas Maier <maiera@de.ibm.com> Co-authored-by: Andreas Maier <andy-maier@users.noreply.github.com>
1885 of 2902 branches covered (64.96%)
Branch coverage included in aggregate %.
22 of 36 new or added lines in 3 files covered. (61.11%)
9843 of 12256 relevant lines covered (80.31%)
6.42 hits per line
| Lines | Coverage | ∆ | File |
|---|---|---|---|
| 8 |
63.55
|
-0.35% | zhmcclient/_notification.py |
| 6 |
80.79
|
-1.6% | zhmcclient/_auto_updater.py |
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | ubuntu-latest,3.10,minimum - test-4941.1 | 64 |
77.32
|
GitHub Action Run | |
| 2 | ubuntu-latest,3.9,latest - test-4941.2 | 64 |
77.35
|
GitHub Action Run | |
| 3 | ubuntu-latest,3.14,latest - test-4941.3 | 64 |
77.34
|
GitHub Action Run | |
| 4 | ubuntu-latest,3.9,minimum - test-4941.4 | 64 |
77.33
|
GitHub Action Run | |
| 5 | windows-latest,3.12,minimum - test-4941.5 | 64 |
77.32
|
GitHub Action Run | |
| 6 | macos-latest,3.14,latest - test-4941.6 | 64 |
77.34
|
GitHub Action Run | |
| 7 | windows-latest,3.14,latest - test-4941.7 | 64 |
77.34
|
GitHub Action Run | |
| 8 | ubuntu-latest,3.14,minimum - test-4941.8 | 64 |
77.32
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|