DBZ-3154 Update test suite to run in CDB & non-CDB modes. #278
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debezium-connector-oracle/src/main/java/io/debezium/connector/oracle/OracleConnectorConfig.java
Outdated
Show resolved
Hide resolved
debezium-connector-oracle/src/main/java/io/debezium/connector/oracle/OracleConnectorConfig.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Naros one follow-up :) And any comments on my other questions (README, CI)?
debezium-connector-oracle/src/test/java/io/debezium/connector/oracle/logminer/SqlUtilsTest.java
Outdated
Show resolved
Hide resolved
So the way to test the connector in CDB mode is just to run the test suite as you normally would. If you provide the test suite with a That said, I'll add a note in the |
@@ -725,7 +727,7 @@ public boolean isIncluded(TableId t) { | |||
} | |||
|
|||
private boolean isExcludedSchema(TableId id) { | |||
return Arrays.stream(EXCLUDED_SCHEMAS).anyMatch(id.schema().toLowerCase()::equals); | |||
return EXCLUDED_SCHEMAS.contains(id.schema().toLowerCase()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you :)
https://issues.redhat.com/browse/DBZ-3154
This should be merged in conjunction with debezium/oracle-vagrant-box#18 as the changes in the helper class reflects the various script changes in the vagrant box repository.