Skip to content

Conversation

@MikaelSmith
Copy link
Contributor

Fixes sum(memoryAllocatable) and sum(podAllocatable). These previously tested the wrong resource (cpuAllocatable).

Also refactor comparison functions to unify resolving properties and add more testing.

Fixes #179.

Remove repetition across test cases that made it hard to read. Tweaks
tests where needed so they can all use the same node data. Also corrects
a test where the description didn't match the test.
Fixes `sum(memoryAllocatable)` and `sum(podAllocatable)`. These
previously tested the wrong resource (cpuAllocatable).

Also refactor comparison functions to unify resolving properties and add
more testing.

Fixes replicatedhq#179.
@dexhorthy
Copy link
Contributor

Thanks @MikaelSmith ! @marccampbell do you know who might be the best person to review this?

@laverya laverya merged commit fa84d3f into replicatedhq:master May 7, 2020
@MikaelSmith MikaelSmith deleted the fix-allocatable-sum branch May 7, 2020 21:48
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.

Allocatable memory test fails

3 participants