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

Mellanox / ib-kubernetes / 22544821983
47%

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

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>

1 of 1 new or added line in 1 file covered. (100.0%)

716 of 1520 relevant lines covered (47.11%)

20.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 22544821983.1 01 Mar 2026 01:58PM UTC 17
47.11
GitHub Action Run
Source Files on build 22544821983
  • Tree
  • List 17
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #22544821983
  • fb03fcef on github
  • Prev Build on master (#21675786498)
  • Next Build on master (#22617112993)
  • 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