diff --git a/tests/test_check_swatinit_simulators.py b/tests/test_check_swatinit_simulators.py index 5d584a0d8..b51b2a3b4 100644 --- a/tests/test_check_swatinit_simulators.py +++ b/tests/test_check_swatinit_simulators.py @@ -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.")