Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-10392 Remove legacy mode
  3. FLINK-10527

Cleanup constant isNewMode in YarnTestBase

    XMLWordPrintableJSON

    Details

      Description

      This seems to be a residual problem with FLINK-10396. It is set to true in that PR. Currently it has three usage scenarios:

      1. assert, caused an error

      assumeTrue("The new mode does not start TMs upfront.", !isNewMode);
      

      2. if (!isNewMode) the logic in the block would not have invoked, the if block can be removed

      3. if (isNewMode) always been invoked, the if statement can be removed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yanghua vinoyang
                Reporter:
                yanghua vinoyang
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: