Skip to content

Commit

Permalink
Apply spotlessApply
Browse files Browse the repository at this point in the history
  • Loading branch information
upsidedownsmile committed May 22, 2024
1 parent 7c41408 commit e513c7b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,16 @@ protected String getApplicationWaitPattern() {
@Override
protected Map<String, String> getApplicationExtraEnvironmentVariables() {
return Map.of(
"DB_URL", String.format("jdbc:h2:mem:%s", DB_NAME),
"DB_DRIVER", "org.h2.Driver",
"DB_USERNAME", DB_USER,
"DB_PASSWORD", DB_PASSWORD,
"DB_PLATFORM", "org.hibernate.dialect.H2Dialect");
"DB_URL",
String.format("jdbc:h2:mem:%s", DB_NAME),
"DB_DRIVER",
"org.h2.Driver",
"DB_USERNAME",
DB_USER,
"DB_PASSWORD",
DB_PASSWORD,
"DB_PLATFORM",
"org.hibernate.dialect.H2Dialect");
}

protected void assertAwsSpanAttributes(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,16 @@ protected String getApplicationWaitPattern() {
@Override
protected Map<String, String> getApplicationExtraEnvironmentVariables() {
return Map.of(
"DB_URL", String.format("jdbc:postgresql://%s:5432/%s", NETWORK_ALIAS, DB_NAME),
"DB_DRIVER", "org.postgresql.Driver",
"DB_USERNAME", DB_USER,
"DB_PASSWORD", DB_PASSWORD,
"DB_PLATFORM", "org.hibernate.dialect.PostgreSQLDialect");
"DB_URL",
String.format("jdbc:postgresql://%s:5432/%s", NETWORK_ALIAS, DB_NAME),
"DB_DRIVER",
"org.postgresql.Driver",
"DB_USERNAME",
DB_USER,
"DB_PASSWORD",
DB_PASSWORD,
"DB_PLATFORM",
"org.hibernate.dialect.PostgreSQLDialect");
}

@Override
Expand Down

0 comments on commit e513c7b

Please sign in to comment.