From 7fef20ad3bc33c44707ac0a76667d3f7e04a8420 Mon Sep 17 00:00:00 2001 From: "Andrey.Tarashevskiy" Date: Thu, 9 Jul 2020 00:40:13 +0300 Subject: [PATCH] Use testcontainers for MySQL instead of mysql-connector-mxj (#957) / Fix for run embedded tests --- .../kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt b/exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt index b6235c77a1..64705dbed8 100644 --- a/exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt +++ b/exposed-tests/src/main/kotlin/org/jetbrains/exposed/sql/tests/DatabaseTestsBase.kt @@ -103,7 +103,7 @@ private val mySQLProcess by lazy { } private fun runTestContainersMySQL(): Boolean = - (System.getProperty("exposed.test.mysql.host") ?: System.getProperty("exposed.test.mysql8.host")).isBlank() + (System.getProperty("exposed.test.mysql.host") ?: System.getProperty("exposed.test.mysql8.host")).isNullOrBlank() abstract class DatabaseTestsBase { init {