Skip to content

Commit

Permalink
Safeguard retries due to license failures
Browse files Browse the repository at this point in the history
  • Loading branch information
berland committed Jan 10, 2024
1 parent ad67723 commit ff349b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_check_swatinit_simulators.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ def run_reservoir_simulator(simulator, resmodel, perform_qc=True):
if (
result.returncode != 0
and "runeclipse" in simulator
and result.stdout is not None
and result.stderr is not None
and "LICENSE FAILURE" in result.stdout.decode() + result.stderr.decode()
):
print("Eclipse failed due to license server issues. Retrying in 30 seconds.")
Expand Down

0 comments on commit ff349b9

Please sign in to comment.