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

Start MiniCluster with random REST port

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      The MiniCluster picks a random port for the RpcService but not for the REST server endpoint. Due to this it falls back to 8081. This can lead to port conflicts if tests are executed concurrently.

      I propose to rename the MiniClusterResource into MiniClusterResourceWithRestClient and add a new MiniClusterResource which only starts a MiniCluster with the REST port set to 0.

        Attachments

          Activity

            People

            • Assignee:
              trohrmann Till Rohrmann
              Reporter:
              trohrmann Till Rohrmann

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment