Martijn Visser created FLINK-41703:
--------------------------------------

             Summary: [JUnit5 Migration] Use annotation names instead of JUnit 
4 classes in ITCaseRules
                 Key: FLINK-41703
                 URL: https://issues.apache.org/jira/browse/FLINK-41703
             Project: Flink
          Issue Type: Sub-task
          Components: Tests
            Reporter: Martijn Visser


ITCaseRules refers to org.junit.ClassRule and org.junit.Rule as classes, so 
flink-architecture-tests-test cannot compile without JUnit 4, and every 
connector repo that runs TestCodeArchitectureTestBase loads ITCaseRules. We 
should use JavaFieldPredicates.annotatedWith(String) like TestNamingRules 
already does. This is also needed for FLINK-25858.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to