[FLINK-11485] [tests] Adjust existing PojoSerializer upgrade tests
The following tests have been adjusted to new scope of functionality related to upgrading the PojoSerializer: PojoSerializerTest and PojoSerializerUpgradeTest. In PojoSerializerTest, assertions that were supposed to check for "isCompatibleWithReconfiguredSerializer" cases have been adjusted to correctly do so. Also, a test where changing field order was tested was removed, since the new PojoSerializerSnapshot always assumes that fields have been sorted already by the type extractor. In PojoSerializerUpgradeTest, tests which remove / add fields to POJO classes were updated to no longer expect failures. They were expecting failures because POJOs were not evolvable in the past. The updates to these tests also provide coverage for the POJO schema evolution feature. This closes #7759.
Showing
想要评论请 注册 或 登录