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

testsuite: t1024-alloc-check.t: do not fail if rank 0 not drained #1047

Merged
merged 1 commit into from
Jul 10, 2023

Conversation

grondo
Copy link
Contributor

@grondo grondo commented Jul 9, 2023

Problem: Once flux-framework/flux-core#5319 is fixed, broker ranks will not be drained if the epilog is running when a job is canceled. However, this causes t1024-alloc-check.t to fail since flux resource undrain 0 will fail.

Don't fail if the undrain of rank 0 fails, so that this test will pass even after fixing the flux-core bug.

Problem: Once flux-framework/flux-core#5319 is fixed, broker
ranks will not be drained if the epilog is running when a job is
canceled. However, this causes t1024-alloc-check.t to fail since
`flux resource undrain 0` will fail.

Don't fail if the undrain of rank 0 fails, so that this test will
pass even after fixing the flux-core bug.
@codecov
Copy link

codecov bot commented Jul 9, 2023

Codecov Report

Merging #1047 (1c70c28) into master (1f76564) will decrease coverage by 0.1%.
The diff coverage is n/a.

❗ Current head 1c70c28 differs from pull request most recent head f76245a. Consider uploading reports for the commit f76245a to get more accurate results

@@           Coverage Diff            @@
##           master   #1047     +/-   ##
========================================
- Coverage    74.4%   74.3%   -0.1%     
========================================
  Files          86      86             
  Lines        9432    9432             
========================================
- Hits         7020    7017      -3     
- Misses       2412    2415      +3     

see 1 file with indirect coverage changes

Copy link
Member

@garlick garlick left a comment

Choose a reason for hiding this comment

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

Thanks!

@grondo
Copy link
Contributor Author

grondo commented Jul 10, 2023

Thanks, setting MWP.

@grondo grondo added the merge-when-passing mergify.io - merge PR automatically once CI passes label Jul 10, 2023
@mergify mergify bot merged commit 506c0c4 into flux-framework:master Jul 10, 2023
@grondo grondo deleted the t1024-fix branch July 10, 2023 00:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-when-passing mergify.io - merge PR automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants