Github user aljoscha commented on a diff in the pull request:

    https://github.com/apache/flink/pull/935#discussion_r35631275
  
    --- Diff: 
flink-tests/src/test/scala/org/apache/flink/api/scala/runtime/ScalaSpecialTypesSerializerTest.scala
 ---
    @@ -93,8 +98,11 @@ class ScalaSpecialTypesSerializerTest {
           val typeInfo = implicitly[TypeInformation[T]]
           val serializer = typeInfo.createSerializer(new ExecutionConfig)
           val typeClass = typeInfo.getTypeClass
    -      val test =
    +      val test = if (typeInfo.isInstanceOf[EnumValueTypeInfo[_]]) {
    +        new ScalaSpecialTypesSerializerTestInstance[T](serializer, 
typeClass, 4, instances)
    --- End diff --
    
    We could use serializer.getLength here.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to