DBZ-8199 Fix test to resolve database name from environment
This commit is contained in:
parent
eb59aa0b13
commit
a4bc285dd6
@ -233,7 +233,7 @@ public void shouldLogAdditionalDetailsForAbandonedTransaction() throws Exception
|
|||||||
|
|
||||||
connection.commit();
|
connection.commit();
|
||||||
|
|
||||||
assertThat(logInterceptor.containsMessage(", 1 tables [ORCLPDB1.DEBEZIUM.DBZ8044]")).isTrue();
|
assertThat(logInterceptor.containsMessage(String.format(", 1 tables [%s.DEBEZIUM.DBZ8044]", TestHelper.getDatabaseName()))).isTrue();
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
TestHelper.dropTable(connection, "dbz8044");
|
TestHelper.dropTable(connection, "dbz8044");
|
||||||
|
Loading…
Reference in New Issue
Block a user