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

Start MiniCluster with random REST port

    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

            trohrmann Till Rohrmann
            trohrmann Till Rohrmann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: