-
Notifications
You must be signed in to change notification settings - Fork 13
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
cli::discard_failures_in_background is flaky #14
Comments
This test is known to be brittle (see 58e62b) though I don't totally understand why. Presumably a race with the backgrounded process but IIRC I observed the process completing even though the modtime hadn't changed. Will try to dig into this further, or we can always disable it in the meantime if it's causing trouble. |
How critical is this test? If not too much, I'd opt for disabling |
Well it does provide coverage for supported behavior so I'd rather fix it, but if it's causing too much trouble I'll disable it for now. |
I may be misreading this, but it looks like the test is sleeping for a total of 1sec (10x 100ms) rather than the invalidate threshold of 10sec. Is it that simple? Or am I missing something? |
The sleep duration should only need to be long enough for the command to execute, it isn't related to the
In other words, it seems like occasionally |
Reported by @tranzystorek-io in #12 (comment) - example failure blaming this line:
The text was updated successfully, but these errors were encountered: