-
-
Notifications
You must be signed in to change notification settings - Fork 179
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
Too long running CI #1341
Comments
Running It seems that the long running test is:
It seems that we fall into an infinite shrinking loop, with the following starting point: ● FloatingPointArbitrary › double › Given minimal and maximal values [between min (included) and max (excluded)] › Should always generate correct values
Property failed after 42 tests
{ seed: -2006168428, path: "41", endOnFailure: true }
Counterexample: [[4,{"min":21474836.28,"max":21474836.41}],1346200227]
Shrunk 0 time(s)
Got error: Error: Expect: 21474836.41 to be a valid value |
Except the original issue, we have a long running convergence/shrink process, but shrinking seems not to be stopped (just too slow): ...
- [[2,{"min":21473903.96,"max":21473904.24}],1346200227]
- [[2,{"min":21473903.93,"max":21473903.96}],1346200227]
- [[2,{"min":21473903.65,"max":21473903.93}],1346200227]
- [[2,{"min":21473903.62,"max":21473903.65}],1346200227]
- [[2,{"min":21473903.34,"max":21473903.62}],1346200227]
- [[2,{"min":21473903.31,"max":21473903.34}],1346200227]
- [[2,{"min":21473903.03,"max":21473903.31}],1346200227]
- [[2,{"min":21473903,"max":21473903.03}],1346200227]
- [[2,{"min":21473902.72,"max":21473903}],1346200227]
- [[2,{"min":21473902.69,"max":21473902.72}],1346200227]
- [[2,{"min":21473902.41,"max":21473902.69}],1346200227]
- [[2,{"min":21473902.38,"max":21473902.41}],1346200227]
- [[2,{"min":21473902.1,"max":21473902.38}],1346200227]
- [[2,{"min":21473902.07,"max":21473902.1}],1346200227]
- [[2,{"min":21473901.79,"max":21473902.07}],1346200227]
- [[2,{"min":21473901.76,"max":21473901.79}],1346200227]
- [[2,{"min":21473901.48,"max":21473901.76}],1346200227]
- [[2,{"min":21473901.45,"max":21473901.48}],1346200227]
... |
const {min, max} = {"min":21474836.28,"max":21474836.41};
const v = (((1 << 26) - 1) * (Math.pow(2, 27)) + (1 << 27) - 1) * (Math.pow(2, -53));
console.log(min + v * (max - min)) // 21474836.41 |
🐛 Bug Report
DEFAULT_SEED is: -2006168428 (unit)
See https://github.com/dubzzz/fast-check/runs/1670947194?check_suite_focus=true
The text was updated successfully, but these errors were encountered: