You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2021/02/09 15:27:00 UTC

[jira] [Created] (FLINK-21342) Various classes extending TestBases cannot be instantiated

Chesnay Schepler created FLINK-21342:
----------------------------------------

             Summary: Various classes extending TestBases cannot be instantiated
                 Key: FLINK-21342
                 URL: https://issues.apache.org/jira/browse/FLINK-21342
             Project: Flink
          Issue Type: Sub-task
          Components: Tests
            Reporter: Chesnay Schepler
            Assignee: Chesnay Schepler
             Fix For: 1.13.0


Various tests (mostly serializer tests) use a pattern where they have an inner class extending a test base. When the naming conventions are relaxed these are picked up as test classes, but they lack a public constructor.

Putting aside how jank this approach is, we can add {{@Ignore}} as a workaround.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)