Skip to content

Commit 8b2dee6

Browse files
fast_sleep on more tests in test_api_result.py
1 parent 8bfa6e7 commit 8b2dee6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_api_result.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3436,7 +3436,7 @@ def test_stac_api_no_spatial_extent_specified(self, api110, dummy_stac_api_serve
34363436
}
34373437
assert dummy_stac_api_server.history_has(method="GET", path="/search")
34383438

3439-
def test_stac_api_caching(self, imagecollection_with_two_bands_and_one_date, api110, tmp_path):
3439+
def test_stac_api_caching(self, imagecollection_with_two_bands_and_one_date, api110, tmp_path, fast_sleep):
34403440
with mock.patch("openeogeotrellis.load_stac.load_stac") as mock_load_stac:
34413441
mock_load_stac.return_value = imagecollection_with_two_bands_and_one_date
34423442

@@ -4428,7 +4428,7 @@ def item(path) -> dict:
44284428
assert tuple(ds.bounds) == (5.0, 50.0, 6.0, 51.0)
44294429

44304430
def test_load_stac_from_unsigned_job_results_respects_proj_metadata(self, api110, tmp_path,
4431-
batch_job_output_root, zk_job_registry):
4431+
batch_job_output_root, zk_job_registry, fast_sleep):
44324432
# get results from own batch job rather than crawl signed STAC URLs
44334433
results_dir = _setup_existing_job(
44344434
job_id="j-2405078f40904a0b85cf8dc5dd55b07e",
@@ -4471,7 +4471,7 @@ def test_load_stac_from_unsigned_job_results_respects_proj_metadata(self, api110
44714471
assert tuple(ds.bounds) == tuple(map(pytest.approx, expected_bbox))
44724472

44734473
@gps_config_overrides(job_dependencies_poll_interval_seconds=0, job_dependencies_max_poll_delay_seconds=60)
4474-
def test_load_stac_from_partial_job_results_basic(self, api110, requests_mock, tmp_path, caplog):
4474+
def test_load_stac_from_partial_job_results_basic(self, api110, requests_mock, tmp_path, caplog, fast_sleep):
44754475
"""load_stac from partial job results Collection (signed case)"""
44764476

44774477
caplog.set_level("DEBUG")

0 commit comments

Comments
 (0)