Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-16816

Attempt to run @Database tests with MariaDB will fails with ClassNotFoundException

XMLWordPrintable

      mariadb-java-client is missing in between test dependencies and testcontainers are not able to execute readiness check. 

      14:26:22,598 ERROR [t.localhost/testcontainers/pgjcf5jaijj3b5li:latest] Could not start container org.testcontainers.containers.JdbcDatabaseContainer$NoDriverFoundException: Could not get Driver
      	at org.testcontainers.containers.JdbcDatabaseContainer.getJdbcDriverInstance(JdbcDatabaseContainer.java:235)
      	at org.testcontainers.containers.JdbcDatabaseContainer.createConnection(JdbcDatabaseContainer.java:271)
      	at org.testcontainers.containers.JdbcDatabaseContainer.createConnection(JdbcDatabaseContainer.java:252)
      	at org.testcontainers.containers.JdbcDatabaseContainer.waitUntilContainerStarted(JdbcDatabaseContainer.java:192)
      	at org.testcontainers.containers.GenericContainer.tryStart(GenericContainer.java:492)
      	at org.testcontainers.containers.GenericContainer.lambda$doStart$0(GenericContainer.java:346)
      	at org.rnorth.ducttape.unreliables.Unreliables.retryUntilSuccess(Unreliables.java:81)
      	at org.testcontainers.containers.GenericContainer.doStart(GenericContainer.java:336)
      	at org.testcontainers.containers.GenericContainer.start(GenericContainer.java:322)
      	at org.infinispan.server.test.core.persistence.ContainerDatabase.start(ContainerDatabase.java:102)
      

              Unassigned Unassigned
              rhn-support-pdrobek Pavel Drobek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: