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

Mellanox / ib-kubernetes / 22544821983 / 1
52%
master: 52%

Build:
DEFAULT BRANCH: master
Ran 01 Mar 2026 01:58PM UTC
Files 17
Run time 0s
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

01 Mar 2026 01:53PM UTC coverage: 47.105% (+0.5%) from 46.579%
22544821983.1

push

github

web-flow
Fix parse pkey fails for non numeric hex values  (#211)

* fix: update PKey regex to accept hexadecimal letters (a-f)

The regex `0[xX]\d+` only matched decimal digits after the hex prefix,
causing valid PKeys like 0xa30 to be incorrectly rejected. Updated to
`0[xX][0-9a-fA-F]+` to properly match all hexadecimal digits.

Fixes #190

Signed-off-by: Michael Hewitt <hmike1996@gmail.com>

* test: add ParsePKey tests covering hex letter validation

Add test cases for ParsePKey to cover the bug fixed in the previous
commit, including valid pkeys with hex letters (e.g. 0xa30) that were
previously rejected, as well as edge cases for invalid input.

Signed-off-by: Michael Hewitt <hmike1996@gmail.com>

---------

Signed-off-by: Michael Hewitt <hmike1996@gmail.com>

716 of 1520 relevant lines covered (47.11%)

20.44 hits per line

Source Files on job 22544821983.1
  • Tree
  • List 17
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 22544821983
  • fb03fcef on github
  • Prev Job for on master (#21675786498.1)
  • Next Job for on master (#22617112993.1)
  • Delete
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

© 2026 Coveralls, Inc