DBZ-435 Aligned CloudEventsConverterIT test
This commit is contained in:
parent
2140ff51be
commit
c60412dee5
@ -69,12 +69,19 @@ public void testCorrectFormat() throws Exception {
|
||||
}
|
||||
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJson(deleteRecord, false);
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJsonWithDataAsAvro(deleteRecord, "filter", false);
|
||||
if (TestHelper.isOplogCaptureMode()) {
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJsonWithDataAsAvro(deleteRecord, "filter", false);
|
||||
}
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInAvro(deleteRecord, "mongodb", "mongo1", false);
|
||||
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJson(updateRecord, false);
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJsonWithDataAsAvro(updateRecord, "filter", false);
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJsonWithDataAsAvro(updateRecord, "patch", false);
|
||||
if (TestHelper.isOplogCaptureMode()) {
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJsonWithDataAsAvro(updateRecord, "filter", false);
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJsonWithDataAsAvro(updateRecord, "patch", false);
|
||||
}
|
||||
else {
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInJsonWithDataAsAvro(updateRecord, "after", false);
|
||||
}
|
||||
CloudEventsConverterTest.shouldConvertToCloudEventsInAvro(updateRecord, "mongodb", "mongo1", false);
|
||||
|
||||
stopConnector();
|
||||
|
Loading…
Reference in New Issue
Block a user