From f6a6e4656b2ea807ee89f60395bc94f2ee894336 Mon Sep 17 00:00:00 2001 From: stxue1 Date: Tue, 7 Jan 2025 16:41:40 -0800 Subject: [PATCH] Add cache test --- src/toil/test/cwl/cwlTest.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/toil/test/cwl/cwlTest.py b/src/toil/test/cwl/cwlTest.py index 80a547524a..77e1325429 100644 --- a/src/toil/test/cwl/cwlTest.py +++ b/src/toil/test/cwl/cwlTest.py @@ -1222,6 +1222,14 @@ def test_run_conformance_with_caching(self) -> None: junit_file=os.path.join(self.rootDir, "caching-conformance-1.2.junit.xml"), ) + @slow + @pytest.mark.timeout(CONFORMANCE_TEST_TIMEOUT) + def test_run_conformance_with_task_caching(self) -> None: + self.test_run_conformance( + junit_file=os.path.join(self.rootDir, "task-caching-conformance-1.2.junit.xml"), + extra_args=["--cachedir", self._createTempDir("task_cache")] + ) + @slow @pytest.mark.timeout(CONFORMANCE_TEST_TIMEOUT) def test_run_conformance_with_in_place_update(self) -> None: