Skip to content

Commit

Permalink
Fix DebeziumIO JmsIO PreCommit (#32926)
Browse files Browse the repository at this point in the history
* Fix DebeziumIO JmsIO PreCommit

* Update sdks/go/test/integration/io/xlang/debezium/debezium_test.go

---------

Co-authored-by: Jack McCluskey <[email protected]>
  • Loading branch information
Abacn and jrmccluskey authored Oct 24, 2024
1 parent 5a6b10a commit 5cd261a
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/debezium/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 5cd261a

Please sign in to comment.