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: fix flaky test in t0019-tbon-config.t #6563

Merged
merged 1 commit into from
Jan 19, 2025

Conversation

grondo
Copy link
Contributor

@grondo grondo commented Jan 18, 2025

Problem: The test tbon.endpoint cannot be set in t0019-tbon-config.t fails occasionally in ci because the flux start command reports it is terminated by SIGPIPE rather than SIGKILL/SIGTERM.

The test is just meant to detect an expected failure of the command, it does not matter how the command fails. Just use ! to detect failure. Add a note to explain why test_must_fail or similar is not used here.

Fixes #6336

Problem: The test `tbon.endpoint cannot be set` in t0019-tbon-config.t
fails occasionally in ci because the `flux start` command reports it
is terminated by SIGPIPE rather than SIGKILL/SIGTERM.

The test is just meant to detect an expected failure of the command, it
does not matter how the command fails. Just use `!` to detect failure.
Add a note to explain why `test_must_fail` or similar is not used here.

Fixes flux-framework#6336
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.

Sounds good!

@mergify mergify bot merged commit eeaec43 into flux-framework:master Jan 19, 2025
35 checks passed
Copy link

codecov bot commented Jan 19, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.44%. Comparing base (122bd11) to head (a10d618).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6563   +/-   ##
=======================================
  Coverage   79.44%   79.44%           
=======================================
  Files         531      531           
  Lines       88247    88247           
=======================================
+ Hits        70110    70112    +2     
+ Misses      18137    18135    -2     

see 3 files with indirect coverage changes

@grondo grondo deleted the issue#6336 branch January 19, 2025 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

not ok - tbon.endpoint cannot be set
2 participants