Skip to content

Commit 61c5016

Browse files
committed
fix for linkage error thanks to Edgar, some more output
1 parent 27e605b commit 61c5016

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

build.gradle

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,12 @@ dependencies {
6161
provided "org.scala-lang:scala-compiler:$scalaVersion"
6262
provided "io.vertx:lang-scala:$scalaLangModVersion"
6363

64-
compile "com.github.mauricio:postgresql-async_2.10:0.2.4"
65-
compile "com.github.mauricio:mysql-async_2.10:0.2.4"
66-
64+
compile("com.github.mauricio:postgresql-async_2.10:0.2.4") {
65+
exclude group: 'org.scala-lang'
66+
}
67+
compile("com.github.mauricio:mysql-async_2.10:0.2.4") {
68+
exclude group: 'org.scala-lang'
69+
}
6770
}
6871

6972
test {

src/main/scala/com/campudus/vertx/database/Starter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class Starter extends Verticle {
4444
pool = new ConnectionHandler(connection, configuration)
4545
vertx.eventBus.registerHandler(address)(pool)
4646

47-
logger.info("Async database module for MySQL and PostgreSQL started.")
47+
logger.error("Async database module for MySQL and PostgreSQL started.")
4848

4949
startedResult.setResult(null)
5050
} catch {

src/test/scala/com/campudus/test/TestVerticle.scala

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ abstract class TestVerticle extends org.vertx.testtools.TestVerticle with VertxE
2424

2525
container.deployModule(System.getProperty("vertx.modulename"), getConfig(), new Handler[AsyncResult[String]]() {
2626
override def handle(deploymentID: AsyncResult[String]) = {
27-
VertxAssert.assertNotNull("deploymentID should not be null", deploymentID.succeeded())
27+
if (deploymentID.failed()) {
28+
log.info(deploymentID.cause())
29+
}
30+
VertxAssert.assertTrue("deploymentID should not be null", deploymentID.succeeded())
2831

2932
before() map { _ =>
3033
log.info("starting tests")

0 commit comments

Comments
 (0)