Skip to content

Commit

Permalink
Add torque params to everserver queue config tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cmrqs committed Dec 3, 2024
1 parent c7cf38a commit 6fdd906
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/everest/test_detached.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
LocalQueueOptions,
LsfQueueOptions,
SlurmQueueOptions,
TorqueQueueOptions,
activate_script,
)
from ert.scheduler.event import FinishedEvent
Expand Down Expand Up @@ -197,8 +198,10 @@ def test_detached_mode_config_base(copy_math_func_test_data_to_tmp):
[
("lsf", 2, None),
("slurm", 4, None),
("torque", 6, None),
("lsf", 3, "test_lsf"),
("slurm", 5, "test_slurm"),
("torque", 7, "test_torque"),
],
)
def test_everserver_queue_config_equal_to_run_config(
Expand Down Expand Up @@ -302,6 +305,14 @@ def test_generate_queue_options_no_config():
{"options": "ever_opt_1", "queue_system": "lsf"},
LsfQueueOptions(max_running=1, lsf_resource="ever_opt_1"),
),
(
{
"options": "ever_opt_1",
"queue_system": "torque",
"keep_qsub_output": "1",
},
TorqueQueueOptions(max_running=1, keep_qsub_output=True),
),
],
)
def test_generate_queue_options_use_simulator_values(
Expand Down

0 comments on commit 6fdd906

Please sign in to comment.