GH-536: Fix Debezium Source tests for Debezium version

Fixes: #536

There are some new fields emitted into Debezium events which we miss to assert in the tests
This commit is contained in:
Artem Bilan
2024-04-22 12:41:13 -04:00
parent de1fab5abc
commit cc15d64d85
4 changed files with 16 additions and 2 deletions

View File

@@ -3,7 +3,9 @@
"version": "${json-unit.ignore}",
"connector": "mysql",
"name": "my-topic",
"ts_ms": 1681662168850,
"ts_ms": "${json-unit.ignore}",
"ts_ns": "${json-unit.ignore}",
"ts_us": "${json-unit.ignore}",
"snapshot": "true",
"db": "inventory",
"table": "addresses",

View File

@@ -11,6 +11,8 @@
"connector": "mysql",
"name": "my-topic",
"ts_ms": "${json-unit.ignore}",
"ts_ns": "${json-unit.ignore}",
"ts_us": "${json-unit.ignore}",
"snapshot": "false",
"db": "inventory",
"table": "customers",
@@ -24,5 +26,7 @@
},
"op": "d",
"ts_ms": "${json-unit.ignore}",
"ts_ns": "${json-unit.ignore}",
"ts_us": "${json-unit.ignore}",
"transaction": null
}

View File

@@ -10,7 +10,9 @@
"version": "${json-unit.ignore}",
"connector": "mysql",
"name": "my-topic",
"ts_ms": 1681663084000,
"ts_ms": "${json-unit.ignore}",
"ts_ns": "${json-unit.ignore}",
"ts_us": "${json-unit.ignore}",
"snapshot": "true",
"db": "inventory",
"table": "products",
@@ -24,5 +26,7 @@
},
"op": "r",
"ts_ms": "${json-unit.ignore}",
"ts_ns": "${json-unit.ignore}",
"ts_us": "${json-unit.ignore}",
"transaction": null
}

View File

@@ -16,6 +16,8 @@
"connector": "mysql",
"name": "my-topic",
"ts_ms": "${json-unit.ignore}",
"ts_ns": "${json-unit.ignore}",
"ts_us": "${json-unit.ignore}",
"snapshot": "false",
"db": "inventory",
"table": "customers",
@@ -29,5 +31,7 @@
},
"op": "u",
"ts_ms": "${json-unit.ignore}",
"ts_ns": "${json-unit.ignore}",
"ts_us": "${json-unit.ignore}",
"transaction": null
}