Skip to content

Conversation

@chu11
Copy link
Member

@chu11 chu11 commented Mar 4, 2025

Problem: The numnodes are calculated before hostlist_uniq() is
called, which can lead to an invalid calculation when calling
hostlist_count().

Move the calculation of numnodes to after hostlist_uniq() is called.

chu11 added 3 commits March 4, 2025 11:42
Problem: The numnodes are calculated before hostlist_uniq() is
called, which can lead to an invalid calculation when calling
hostlist_count().

Move the calculation of numnodes to after hostlist_uniq() is called.

Fixes chaos#87
Problem: There is no coverage to ensure the miscalculation in issue87
is tested.

Add test in testsuite/libgenders.
Problem: There are very few tests that cover "mixed up" genders
nodes in a file, i.e. nodes listed on multiple lines.

Add coverage to testsuite/libgenders.
@chu11 chu11 merged commit 1686e86 into chaos:master Mar 4, 2025
1 check passed
@chu11 chu11 deleted the issue87 branch March 4, 2025 21:13
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.

1 participant