Skip to content

Commit b62b0ef

Browse files
croemmichbsideup
andauthored
Implement getDatabaseName() in CockroachContainer (#3778)
Co-authored-by: Sergei Egorov <[email protected]>
1 parent a6f91e3 commit b62b0ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

modules/cockroachdb/src/main/java/org/testcontainers/containers/CockroachContainer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,11 @@ public String getJdbcUrl() {
6868
"/" + databaseName + additionalUrlParams;
6969
}
7070

71+
@Override
72+
public final String getDatabaseName() {
73+
return databaseName;
74+
}
75+
7176
@Override
7277
public String getUsername() {
7378
return username;

0 commit comments

Comments
 (0)