Skip to content

Commit

Permalink
print exposed ports
Browse files Browse the repository at this point in the history
  • Loading branch information
YotillaAntoni committed Jan 14, 2025
1 parent a36202b commit 1d143ab
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ public TestingExasolServer()
.withMemoryReservation(RESERVED_MEMORY)
.withOomKillDisable(true));
cleanup = startOrReuse(container);

container.getExposedPorts().stream().forEach(
port -> log.info("Exposed port: " + port + " as " + container.getMappedPort(port))
);

executeAsSys(format("CREATE USER %s IDENTIFIED BY \"%s\"", TEST_USER, TEST_PASSWORD));
executeAsSys("GRANT CREATE SESSION TO " + TEST_USER);
executeAsSys("GRANT CREATE SCHEMA TO " + TEST_USER);
Expand Down

0 comments on commit 1d143ab

Please sign in to comment.