Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.11.0
Description
Mockito is used in SchedulerTestUtils to mock ExecutionVertex and Execution for testing. It fails to mock every getter so that other tests use it may encounter NPE issues, e.g. ExecutionVertex#getID().
Mockito is also discouraged to be used in Flink tests. So I'd propose to rework the utils with testing classes.
Attachments
Issue Links
- links to