test(iroh-blobs): comment out ignored test (that is not a flaky test) #2559
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
There's this test that was introduced in the
local_pool
PR.It was ignored via
#[ignore = "todo"]
. Notably, it's not flaky, it always fails.Our flaky tests are run with
cargo nextest run --run-ignored all [...]
. We can't be more specific with theignore
d tests. The only options aredefault
,ignored-only
andall
.This kind of test is really hard to write. IIUC,
#[should_panic]
can only test for the panic happening in the thread that the test is initiated in, it doesn't detect panics that are thrown in threads spawned from the test. I assume this is the reason writing this test was abandoned.Keeping this test with the
#[ignore = "todo"]
on it means we're always running it in our flaky test suite, which is confusing. We thought this test was flaky, but it's not. IMO it's better to comment it out/remove it than to pollute our flaky test results.Breaking Changes
None
Notes & open questions
In this PR I'm commenting this test. Should we remove it instead?
Or do people have ideas on how to make this test work?
Do we have an idea what we're expecting of our
LocalPool
implementation? Should a panic on one of the threads cause a panic in thefinish()
function?Change checklist
[ ] Documentation updates following the style guide, if relevant.[ ] Tests if relevant.