Skip to content

Commit 589331f

Browse files
dependabot[bot]asmirnova
andauthored
Bump testcontainers.version from 1.16.0 to 1.16.2 (#747)
* Bump testcontainers.version from 1.16.0 to 1.16.2 Bumps `testcontainers.version` from 1.16.0 to 1.16.2. Updates `testcontainers` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `kafka` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `mariadb` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `couchbase` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `neo4j` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `postgresql` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `elasticsearch` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `rabbitmq` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `influxdb` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `vault` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `oracle-xe` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `mysql` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `localstack` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `cassandra` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `clickhouse` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `selenium` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `pulsar` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) Updates `db2` from 1.16.0 to 1.16.2 - [Release notes](https://github.com/testcontainers/testcontainers-java/releases) - [Changelog](https://github.com/testcontainers/testcontainers-java/blob/master/CHANGELOG.md) - [Commits](testcontainers/testcontainers-java@1.16.0...1.16.2) --- updated-dependencies: - dependency-name: org.testcontainers:testcontainers dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:kafka dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:mariadb dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:couchbase dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:neo4j dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:postgresql dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:elasticsearch dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:rabbitmq dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:influxdb dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:vault dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:oracle-xe dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:mysql dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:localstack dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:cassandra dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:clickhouse dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:selenium dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:pulsar dependency-type: direct:production update-type: version-update:semver-patch - dependency-name: org.testcontainers:db2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Fix for testcontainers kafka container 1.16.2 * Fix for testcontainers oracle container 1.16.2 Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: asmirnova <[email protected]>
1 parent 282230b commit 589331f

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

embedded-kafka/src/main/java/com/playtika/test/kafka/checks/KafkaStatusCheck.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public String[] getCheckCommand() {
2222
MIN_BROKERS_COUNT,
2323
TIMEOUT_IN_SEC,
2424
"-b",
25-
String.format("localhost:%d", this.properties.getContainerBrokerPort())
25+
String.format("localhost:%d", 9092)
2626
};
2727
}
2828

embedded-kafka/src/main/java/com/playtika/test/kafka/configuration/KafkaContainerConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ public String getBootstrapServers() {
9090
.withCreateContainerCmdModifier(cmd -> cmd.withUser(kafkaProperties.getDockerUser()))
9191
.withCreateContainerCmdModifier(cmd -> cmd.withHostName(KAFKA_HOST_NAME))
9292
.withEmbeddedZookeeper()
93-
.withEnv("KAFKA_BROKER_ID", "-1")
9493
//see: https://stackoverflow.com/questions/41868161/kafka-in-kubernetes-cluster-how-to-publish-consume-messages-from-outside-of-kub
9594
//see: https://github.com/wurstmeister/kafka-docker/blob/master/README.md
9695
// order matters: external then internal since kafka.client.ClientUtils.getPlaintextBrokerEndPoints take first for simple consumers
@@ -106,7 +105,7 @@ public String getBootstrapServers() {
106105
"INTERNAL_PLAINTEXT://0.0.0.0:" + kafkaInternalPort + "," +
107106
"BROKER://0.0.0.0:9092"
108107
)
109-
.withEnv("KAFKA_INTER_BROKER_LISTENER_NAME", "INTERNAL_PLAINTEXT")
108+
.withEnv("KAFKA_INTER_BROKER_LISTENER_NAME", "BROKER")
110109
.withEnv("KAFKA_OFFSETS_TOPIC_NUM_PARTITIONS", "1")
111110
.withEnv("KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR", String.valueOf(kafkaProperties.getOffsetsTopicReplicationFactor()))
112111
.withEnv("KAFKA_TRANSACTION_STATE_LOG_MIN_ISR", "1")

embedded-oracle-xe/src/main/java/com/playtika/test/oracle/OracleProperties.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
public class OracleProperties extends CommonContainerProperties {
1212
static final String BEAN_NAME_EMBEDDED_ORACLE = "embeddedOracle";
1313
static final int ORACLE_PORT = 1521;
14-
static final String ORACLE_DB = "xe";
14+
static final String ORACLE_DB = "xepdb1";
1515

16-
String dockerImage = "oracleinanutshell/oracle-xe-11g";
16+
String dockerImage = "gvenzl/oracle-xe:18.4.0-slim";
1717

18-
String user = "system";
19-
String password = "oracle";
18+
String user = "test";
19+
String password = "test";
2020
String database = ORACLE_DB;
2121
/**
2222
* The SQL file path to execute after the container starts to initialize the database.

testcontainers-spring-boot-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616

1717
<properties>
18-
<testcontainers.version>1.16.0</testcontainers.version>
18+
<testcontainers.version>1.16.2</testcontainers.version>
1919
<spring.boot.version>2.5.5</spring.boot.version>
2020
<spring.cloud.version>2020.0.4</spring.cloud.version>
2121
<spring.cloud.gcp.version>1.2.8.RELEASE</spring.cloud.gcp.version>

0 commit comments

Comments
 (0)