Skip to content

Commit

Permalink
Launch ResInsight with port number 0
Browse files Browse the repository at this point in the history
Utilize grpc random port selection by setting value to 0
  • Loading branch information
larsevj committed Aug 21, 2024
1 parent 1d6ff09 commit 525cf4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, executable: str = "") -> None:

def __enter__(self) -> rips.Instance:
logger.info("Launching ResInsight...")
instance = rips.Instance.launch(self._executable, console=True)
instance = rips.Instance.launch(self._executable, console=True, launch_port=0)
if instance is None:
msg = (
"Failed to launch ResInsight: no executable found"
Expand Down

0 comments on commit 525cf4c

Please sign in to comment.