willowtreeapps / assertk

assertions for kotlin inspired by assertj
MIT License
760 stars 85 forks source link

Make tests 20s faster #462

Closed JakeWharton closed 1 year ago

JakeWharton commented 1 year ago

Any non-zero value will trigger suspension. Let's do 10 milliseconds instead of 10 seconds to save 20 seconds from wall clock time.

evant commented 1 year ago

Lol good catch. It's because it was originally written with runBlockingTest which would skip the delay. Then it was updated to runBlocking and this was missed.