Skip to content

Parse quantity tests - #23

Merged
DavidGerva merged 2 commits into
Checkmk:masterfrom
DavidGerva:parse-quantity-improve
Aug 4, 2026
Merged

Parse quantity tests#23
DavidGerva merged 2 commits into
Checkmk:masterfrom
DavidGerva:parse-quantity-improve

Conversation

@DavidGerva

Copy link
Copy Markdown
Collaborator
  • handling some missing units in parse_quantity
  • add test cases

@DavidGerva
DavidGerva requested a review from relrod July 29, 2026 08:36
@DavidGerva
DavidGerva force-pushed the parse-quantity-improve branch from 81b0d33 to b45f2ed Compare July 29, 2026 08:55

@relrod relrod left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved and you can merge. A few missing edge cases inline if you want to be thorough, but up to you.

Comment thread metrics-cache/src/section/common.rs
Comment thread metrics-cache/src/section/common.rs
@DavidGerva
DavidGerva force-pushed the parse-quantity-improve branch from b45f2ed to 51605cf Compare August 4, 2026 12:00

@DavidGerva DavidGerva left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments addressed!

add these missing parsed units:
- "u", 1e-6
- "n", 1e-9
@DavidGerva
DavidGerva force-pushed the parse-quantity-improve branch from 51605cf to 37e9661 Compare August 4, 2026 12:50
@DavidGerva
DavidGerva merged commit 04a1160 into Checkmk:master Aug 4, 2026
4 checks passed
@DavidGerva
DavidGerva deleted the parse-quantity-improve branch August 6, 2026 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants