From d72570d3adbadc9e56c9cd7d782e7607012c7b3e Mon Sep 17 00:00:00 2001 From: Benjamin Kiessling Date: Sat, 20 Apr 2024 17:16:26 +0200 Subject: [PATCH] do not use workers in ketos compile tests --- tests/test_newpolygons.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_newpolygons.py b/tests/test_newpolygons.py index 18d7faacd..6eb431727 100644 --- a/tests/test_newpolygons.py +++ b/tests/test_newpolygons.py @@ -380,7 +380,7 @@ def test_ketos_new_arrow(self): mfp2 = str(Path(tempdir) / "model2") self._test_ketoscli( - args=['compile', '-f', 'xml', '-o', dset, self.segmented_img], + args=['compile', '--workers', '0', '-f', 'xml', '-o', dset, self.segmented_img], expect_legacy=False, patching_dir="kraken.lib.arrow_dataset", ) @@ -399,7 +399,7 @@ def test_ketos_new_arrow_force_legacy(self): mfp2 = str(Path(tempdir) / "model2") self._test_ketoscli( - args=['compile', '--legacy-polygons', '-f', 'xml', '-o', dset, self.segmented_img], + args=['compile', '--workers', '0', '--legacy-polygons', '-f', 'xml', '-o', dset, self.segmented_img], expect_legacy=True, patching_dir="kraken.lib.arrow_dataset", ) @@ -428,7 +428,7 @@ def test_ketos_new_arrow_old_model(self): mfp2 = str(Path(tempdir) / "model2") self._test_ketoscli( - args=['compile', '-f', 'xml', '-o', dset, self.segmented_img], + args=['compile', '--workers', '0', '-f', 'xml', '-o', dset, self.segmented_img], expect_legacy=False, patching_dir="kraken.lib.arrow_dataset", ) @@ -445,7 +445,7 @@ def test_ketos_mixed_arrow_train_new(self): mfp = str(Path(tempdir) / "model") self._test_ketoscli( - args=['compile', '-f', 'xml', '-o', dset, self.segmented_img, self.arrow_data], + args=['compile', '--workers', '0', '-f', 'xml', '-o', dset, self.segmented_img, self.arrow_data], expect_legacy=False, patching_dir="kraken.lib.arrow_dataset", )