Skip to content

Commit

Permalink
Fix DebeziumIO JmsIO PreCommit
Browse files Browse the repository at this point in the history
  • Loading branch information
Abacn committed Oct 24, 2024
1 parent df3c45d commit 9b514f1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import (
)

const (
debeziumImage = "debezium/example-postgres:latest"
debeziumImage = "quay.io/ebezium/example-postgres:latest"
debeziumPort = "5432/tcp"
maxRetries = 5
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public class DebeziumIOPostgresSqlConnectorIT {
@ClassRule
public static final PostgreSQLContainer<?> POSTGRES_SQL_CONTAINER =
new PostgreSQLContainer<>(
DockerImageName.parse("debezium/example-postgres:latest")
DockerImageName.parse("quay.io/debezium/example-postgres:latest")
.asCompatibleSubstituteFor("postgres"))
.withPassword("dbz")
.withUsername("debezium")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public class DebeziumReadSchemaTransformTest {
@ClassRule
public static final PostgreSQLContainer<?> POSTGRES_SQL_CONTAINER =
new PostgreSQLContainer<>(
DockerImageName.parse("debezium/example-postgres:latest")
DockerImageName.parse("quay.io/debezium/example-postgres:latest")
.asCompatibleSubstituteFor("postgres"))
.withPassword("dbz")
.withUsername("debezium")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public void testPublishingThenReadingAll() throws IOException, JMSException {
int unackRecords = countRemain(QUEUE);
assertTrue(
String.format("Too many unacknowledged messages: %d", unackRecords),
unackRecords < OPTIONS.getNumberOfRecords() * 0.002);
unackRecords < OPTIONS.getNumberOfRecords() * 0.003);

// acknowledged records
int ackRecords = OPTIONS.getNumberOfRecords() - unackRecords;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def start_db_container(self, retries):
for i in range(retries):
try:
self.db = PostgresContainer(
'debezium/example-postgres:latest',
'quay.io/debezium/example-postgres:latest',
user=self.username,
password=self.password,
dbname=self.database)
Expand Down

0 comments on commit 9b514f1

Please sign in to comment.