Open vlsi opened 1 year ago
In CI the SOE seems to occur only on Java 18. Bad. Tried to circumvent it temporarily by fixing seed of test.
In any case, stacktrace without streams is way easier to read
In any case, stacktrace without streams is way easier to read
The code is so much more involved, though, that I'd like to leave it unchanged until tackling the underlying problem.
I agree shortening the stacktrace does not really solve the root cause.
Testing Problem
See https://github.com/jlink/jqwik/actions/runs/3693074859/jobs/6252643488#step:5:211
Suggested Solution
Refrain from Stream API in
net.jqwik.api.ShrinkingDistance#combine
andnet.jqwik.api.ShrinkingDistance#forCollection
so the stacktrace is shorter and easier to understand.Limit the depth of the lazy in tests somehow. I'm not sure it is realistic to test thousands of nested combine calls. As I replaced Stream API with a for loop, I got the following failure, which does not seem to have a trivial solution: