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

    https://github.com/apache/flink/pull/5107#discussion_r155242900
  
    --- Diff: 
flink-runtime/src/test/java/org/apache/flink/runtime/dispatcher/DispatcherTest.java
 ---
    @@ -86,122 +125,143 @@ public static void teardown() {
                }
        }
     
    -   /**
    -    * Tests that we can submit a job to the Dispatcher which then spawns a
    -    * new JobManagerRunner.
    -    */
    -   @Test
    -   public void testJobSubmission() throws Exception {
    -           TestingFatalErrorHandler fatalErrorHandler = new 
TestingFatalErrorHandler();
    +   @Before
    +   public void setUp() throws Exception {
    +           MockitoAnnotations.initMocks(this);
    --- End diff --
    
    Nice catch.


---

Reply via email to