mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
yesterday beb6af6bbbb8c08ad4e27f459ebd6a9e55ef6f8a
opendj-server-legacy/src/test/java/org/opends/server/backends/jdbc/TestCase.java
@@ -39,8 +39,16 @@
   @Override
   public void setUp() throws Exception {
      if(DockerClientFactory.instance().isDockerAvailable()) {
         container = getContainer();
         container.start();
         try {
            container = getContainer();
            container.start();
         } catch (Exception e) {
            // The database container could not be started (e.g. a slow/flaky image
            // pull or DB initialization failure on CI). Skip the test instead of
            // failing the whole build - container startup is an infrastructure
            // concern, not a regression in the JDBC backend under test.
            throw new SkipException(getContainerDockerCommand());
         }
      }
      try(Connection ignored = DriverManager.getConnection(createBackendCfg().getDBDirectory())){