You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/02/21 08:54:49 UTC

[GitHub] aljoscha commented on a change in pull request #7765: [FLINK-11334][core] Migrate enum serializers to use new serialization compatibility abstractions

aljoscha commented on a change in pull request #7765: [FLINK-11334][core] Migrate enum serializers to use new serialization compatibility abstractions
URL: https://github.com/apache/flink/pull/7765#discussion_r258830578
 
 

 ##########
 File path: flink-core/src/test/java/org/apache/flink/api/common/typeutils/TypeSerializerSnapshotMigrationTestBase.java
 ##########
 @@ -452,11 +490,12 @@ protected boolean matchesSafely(TypeSerializerSchemaCompatibility<T> testResultC
 				if (expectedCompatibilty.isCompatibleAsIs()) {
 					return testResultCompatibility.isCompatibleAsIs();
 				} else if (expectedCompatibilty.isIncompatible()) {
-					return testResultCompatibility.isCompatibleAfterMigration();
-				} else if (expectedCompatibilty.isIncompatible()) {
-					return testResultCompatibility.isIncompatible();
+					return testResultCompatibility.isCompatibleAfterMigration() ||
+							testResultCompatibility.isIncompatible();
 
 Review comment:
   yes, I think I merged this version in the end 😅 (I mean the correct one)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services