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
Random failure in matrix_integer_dense.pyx #19380
Comments
comment:1
Well, it passes if the machine is not under extremely high load... If you really want the doctests to pass always, the only option is removing the test. |
comment:2
Why do we need a timeout different from the doctest timeout? Its not a benchmark, we just want to know if abort works or not. And doctests are totally unsuitable for benchmarks anyways, as can be seen here. |
comment:3
Replying to @vbraun:
That's too long. You have a find a time
It's not meant as benchmark, it's meant to show that interrupts work. |
comment:4
There are two different times. I'm talking about the |
comment:5
Replying to @vbraun:
No, because I want to test that the function was actually interrupted. If some function takes 5 seconds to run, then it will always take at most 5 seconds to "interrupt", even if the interrupt doesn't work. |
comment:6
But the output would be different; If the function runs to completion it shows the actual output and the AlarmInterrupt would come later. So the doctests already tests that the function was successfully interrupted even without the |
comment:7
Another one:
|
comment:8
Another one:
|
CC: @jdemeyer
Component: linear algebra
Keywords: random_fail
Issue created by migration from https://trac.sagemath.org/ticket/19380
The text was updated successfully, but these errors were encountered: