DBZ-8199 Fix test to resolve database name from environment

This commit is contained in:
Chris Cranford 2024-09-03 04:16:32 -04:00 committed by Chris Cranford
parent eb59aa0b13
commit a4bc285dd6

View File

@ -233,7 +233,7 @@ public void shouldLogAdditionalDetailsForAbandonedTransaction() throws Exception
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 {
TestHelper.dropTable(connection, "dbz8044");