From 968b38e456c21a3279e85aa9a40b31b8cde9191a Mon Sep 17 00:00:00 2001 From: Jan Janssen Date: Tue, 29 Oct 2024 17:31:04 +0100 Subject: [PATCH] Use same cache directory (#466) --- tests/test_cache_executor_pysqa_flux.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_cache_executor_pysqa_flux.py b/tests/test_cache_executor_pysqa_flux.py index 7888a288..995e876a 100644 --- a/tests/test_cache_executor_pysqa_flux.py +++ b/tests/test_cache_executor_pysqa_flux.py @@ -34,8 +34,9 @@ class TestCacheExecutorPysqa(unittest.TestCase): def test_executor(self): with Executor( backend="pysqa_flux", - resource_dict={"cores": 2, "cwd": "exe_working_directory"}, + resource_dict={"cores": 2, "cwd": "cache"}, block_allocation=False, + cache_directory="cache", ) as exe: cloudpickle_register(ind=1) fs1 = exe.submit(mpi_funct, 1)