Skip to content

Commit 51b3add

Browse files
committed
extend flux test
1 parent 48321a5 commit 51b3add

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_fluxclusterexecutor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ def test_executor(self):
3737
resource_dict={"cores": 2, "cwd": "executorlib_cache"},
3838
block_allocation=False,
3939
cache_directory="executorlib_cache",
40+
terminate_tasks_on_shutdown=False,
4041
) as exe:
4142
cloudpickle_register(ind=1)
4243
fs1 = exe.submit(mpi_funct, 1)
@@ -50,6 +51,7 @@ def test_executor_no_cwd(self):
5051
resource_dict={"cores": 2},
5152
block_allocation=False,
5253
cache_directory="executorlib_cache",
54+
terminate_tasks_on_shutdown=True,
5355
) as exe:
5456
cloudpickle_register(ind=1)
5557
fs1 = exe.submit(mpi_funct, 1)

0 commit comments

Comments
 (0)