Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CRDCDH-956 Sort charts by Node Total #307

Merged
merged 4 commits into from
Mar 15, 2024
Merged

CRDCDH-956 Sort charts by Node Total #307

merged 4 commits into from
Mar 15, 2024

Conversation

amattu2
Copy link
Member

@amattu2 amattu2 commented Mar 14, 2024

Overview

This PR addresses new sorting requirements introduced in CRDCDH-956 – Sorting charts by the node total in ascending order.

Change Details (Specifics)

  • Rewrite compareNodeStats function to account for node total + node name combination
  • Add base test cases for compareNodeStats and calculateMaxDomain functions

Related Ticket(s)

CRDCDH-956

Also add missing test cases for stats
@amattu2 amattu2 added this to the 2.1.0 (MVP2-M3) milestone Mar 14, 2024
The test cases would break if the difference in node totals is greater than 1
@amattu2 amattu2 marked this pull request as ready for review March 14, 2024 20:43
Copy link
Collaborator

@Alejandro-Vega Alejandro-Vega left a comment

Choose a reason for hiding this comment

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

Very nice. LGTM!

@Alejandro-Vega Alejandro-Vega merged commit e93b40d into mvp-2.1.0 Mar 15, 2024
2 checks passed
@Alejandro-Vega Alejandro-Vega deleted the CRDCDH-956 branch March 15, 2024 16:38
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