Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix DebeziumIO JmsIO PreCommit #32926

Merged
merged 2 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading