Thread
#exposed
    christophsturm

    christophsturm

    2 years ago
    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.
    tapac

    tapac

    2 years ago
    The workaround is to replace it with test-containers, but it will require docker to be installed.
    christophsturm

    christophsturm

    2 years ago
    how do i tell it to use test-containers?
    tapac

    tapac

    2 years ago
    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.
    christophsturm

    christophsturm

    2 years ago
    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
    tapac

    tapac

    2 years ago
    christophsturm

    christophsturm

    2 years ago
    same. my guess is that some tests always use mysql
    its in
    org.jetbrains.exposed.DefaultsTest
    in the java-time module