-
Notifications
You must be signed in to change notification settings - Fork 217
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
Flaky test - Cardano.Wallet.Shelley.Transaction estimateMaxNumberOfInputs timeout - macOS #2152
Comments
That test as a timeout on the execution time, which is maybe a bit too tight for the mac mini running this in CI. Since it passes most of the time, we're probably not that far (although I am afraid that we'll hit the same issue with Windows). We could increase the timeout and still make sure that the function executes within a reasonable time. |
Is the timeout to ensure that excessively slow shrinkers or generators can be stopped? How long is it? For this failure, is the timeout too short or is the test case too slow? |
The timeout is to ensure that the function being testing executes within an acceptable time. That was part of the debugging / slowness analysis of large wallets. That function was on the critical path. Now, the acceptable time was previously set to 100ms yet, it's taking longer in CI for some generated values.
The tests (there are 3 using a timeout) are very short actually, some assertion on the result of |
Haven't seen again since 22 Jan. Think we can close. |
Context
A unit test is sometimes failing on macOS due to a timeout.
Test Case
Cardano.Wallet.Shelley.TransactionSpec
Failure / Counter-example
https://hydra.iohk.io/build/4162295
Resolution
QA
The text was updated successfully, but these errors were encountered: