Johannes Link

Results 390 comments of Johannes Link

Latest version of jqwik?

One more question: Does it happen in the context of concurrent code or is everything in the tests running in a single thread?

I deployed a pathetically simple attempt to fix the problem on "1.8.0-SNAPSHOT". @SimY4 Maybe you'll find the time to try it.

@SimY4 You could also try with disabling parallel tests in SBT as described [here](https://www.scala-sbt.org/1.x/docs/Testing.html#Disable+Parallel+Execution+of+Tests).

> @jlink can confirm that `Test / parallelExecution := false` fixes this issue in SBT. Then my fix has at least a chance of working. Try 1.8.0-SNAPSHOT.

That all suggests that SBT test parallelisation does things that are not compatible with the way jqwik currently works. I don’t know how fine-grained it can be switched off (eg...

@SimY4 To dive deeper and to enable this kind of parallelisation I'd need a test field for exploring SBT parallelisation. If you find the time to provide a minimum project...

**Assumption**: SBT is using several instances of the test engine concurrently. Probably via several launcher instances or starting launches in parallel threads. ## Potential Problems - Access to singletons like...

@vlsi It's not ready for merge I assume.