Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-34933

JobMasterServiceLeadershipRunnerTest#testResultFutureCompletionOfOutdatedLeaderIsIgnored isn't implemented properly

    XMLWordPrintableJSON

Details

    Description

      testResultFutureCompletionOfOutdatedLeaderIsIgnored doesn't test the desired behavior: The TestingJobMasterService#closeAsync() callback throws an UnsupportedOperationException by default which prevents the test from properly finalizing the leadership revocation.

      The test is still passing because the test checks implicitly for this error. Instead, we should verify that the runner's resultFuture doesn't complete until the runner is closed.

      Attachments

        Issue Links

          Activity

            People

              mapohl Matthias Pohl
              mapohl Matthias Pohl
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: