Skip to content

Commit

Permalink
Revert changes, use older ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
kaklakariada committed Nov 7, 2023
1 parent 422790f commit f657634
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
matrix:
# ATTENTION: When changing the versions in the matrix, make sure one of them is listed as default version below
# Only for the default version you will get a Sonar analysis!
docker_db_version: ["7.1.23", "8.22.0"]
docker_db_version: ["7.1.23", "8.23.0"]
env:
DEFAULT_DB_VERSION: "7.1.23"
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.docker_db_version }}
cancel-in-progress: true
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/com/exasol/containers/ExasolContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ private void waitUntilStatementCanBeExecuted() {
}
}
final Duration timeoutAfter = Duration.between(before, Instant.now());
final ContainerLaunchException exception = new ContainerLaunchException(ExaError.messageBuilder("F-ETC-5")
throw new ContainerLaunchException(ExaError.messageBuilder("F-ETC-5")
.message("Exasol container start-up timed out trying connection to {{url}} using query {{query}}"
+ " after {{after}} seconds. Last connection exception was: {{exception}}")
.parameter("url", getJdbcUrl(), "JDBC URL of the connection to the Exasol Testcontainer")
Expand All @@ -720,8 +720,6 @@ private void waitUntilStatementCanBeExecuted() {
(this.lastConnectionException == null) ? "none" : this.lastConnectionException.getMessage(),
"exception thrown on last connection attempt")
.toString(), this.lastConnectionException);
LOGGER.error(exception.getMessage(), this.lastConnectionException);
throw exception;
}

private void sleepBeforeNextConnectionAttempt() {
Expand Down

0 comments on commit f657634

Please sign in to comment.