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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)