<@U12AGS8JG> halp have you seen anything like this...
# kotest
m
@sam halp have you seen anything like this before?
Copy code
org.junit.platform.commons.JUnitException: TestEngine with ID 'kotest' failed to execute tests
Caused by: java.lang.IllegalArgumentException: Comparison method violates its general contract!
junit annoyingly also swallowed the stacktrace so i need to figure out how to enable it. it also doesn’t consistently happen.
s
Sounds like a custom comparator
m
looking
i can’t find any custom comparator in that project.. also trying to check in junit or kotest.
hmm i can’t see anything wrong in kotest either. must be something in that project. i’ll try enabling stack trace and get back to you
Thanks Sam!
@sam i think i found the culprit.. i’ve raised an issue there https://github.com/kotest/kotest/issues/2839
and also raised a PR with the fix
s
cool. Will merge once green. I think later this week I can make a 5.1.1 release with this.
🙇‍♂️ 1
maybe a 5.0.4 too
m
Thanks heaps Sam!
👍🏻 1