Skip to content

Commit

Permalink
Enable reWriteBatchedInserts Postgres JDBC driver option in e2e tes…
Browse files Browse the repository at this point in the history
…ts (#1529)
  • Loading branch information
nscuro authored Sep 20, 2024
1 parent 008649a commit f97cde9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ services:
# which can cause problems on some workstations.
# For production deployments, the default should be used.
EXTRA_JAVA_OPTIONS: "-Xmx2g"
ALPINE_DATABASE_URL: "jdbc:postgresql://dt-postgres:5432/dtrack"
ALPINE_DATABASE_URL: "jdbc:postgresql://dt-postgres:5432/dtrack?reWriteBatchedInserts=true"
ALPINE_DATABASE_USERNAME: "dtrack"
ALPINE_DATABASE_PASSWORD: "dtrack"
ALPINE_METRICS_ENABLED: "true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ private PostgreSQLContainer<?> createPostgresContainer() {
.withDatabaseName("dtrack")
.withUsername("dtrack")
.withPassword("dtrack")
.withUrlParam("reWriteBatchedInserts", "true")
.withNetworkAliases("postgres")
.withNetwork(internalNetwork);
}
Expand Down

0 comments on commit f97cde9

Please sign in to comment.