Skip to content

Commit

Permalink
do not use workers in ketos compile tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mittagessen committed Apr 20, 2024
1 parent 51d593a commit d72570d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test_newpolygons.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
)
Expand All @@ -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",
)
Expand Down Expand Up @@ -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",
)
Expand All @@ -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",
)
Expand Down

0 comments on commit d72570d

Please sign in to comment.