the exposed test suite does not work on lastest ma...
# exposed
c
the exposed test suite does not work on lastest macos, i created an issue for it https://github.com/JetBrains/Exposed/issues/894 but I’m not sure whats the best replacement for the outdated lib.
t
The workaround is to replace it with test-containers, but it will require docker to be installed.
c
how do i tell it to use test-containers?
t
Oh, sorry, I tell it wrong - not a workaround but a way to go 🙂 It will require the changes in a project. As a workaround you could exclude mysql from tests with
exposed.test.dialects=sqlite,h2,h2_mysql,postgresql,postgresqlng
as system properties.
c
hmm,
./gradlew -Dexposed.test.dialects=sqlite,h2,h2_mysql,postgresql,postgresqlng build
does not work for me. it still wants to start mysql
also if i set dialect=h2 in gradle.properties it wants to start mysql
t
c
same. my guess is that some tests always use mysql
its in
org.jetbrains.exposed.DefaultsTest
in the java-time module