Skip to content
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

StackOverflow when using checkAll with property test config and 2 generators #2513

Closed
jcornaz opened this issue Sep 16, 2021 · 3 comments
Closed

Comments

@jcornaz
Copy link

jcornaz commented Sep 16, 2021

Which version of Kotest are you using: 4.6.2

The following test:

checkAll(PropTestConfig(), Arb.int(), Arb.int()) { }

leads to this exception:

Caused by: java.lang.StackOverflowError
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
	at io.kotest.property.PropertyTest2Kt.checkAll(propertyTest2.kt:20)
@tmszdmsk
Copy link

It's the same for PropertyTest3.

@sksamuel
Copy link
Member

And 5+

@sksamuel
Copy link
Member

4.6.3 has been released which fixes this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants