Skip to content

Commit 2d4d154

Browse files
committed
pass tests
1 parent 68ce36f commit 2d4d154

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stac_fastapi/elasticsearch/tests/resources/test_item.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ def test_get_item_collection(app_client, load_test_data):
246246
)
247247
assert resp.status_code == 200
248248

249-
time.sleep(1)
249+
time.sleep(2)
250250
resp = app_client.get(f"/collections/{test_item['collection']}/items")
251251
assert resp.status_code == 200
252252

@@ -378,7 +378,7 @@ def test_item_search_temporal_query_post(app_client, load_test_data):
378378
)
379379
assert resp.status_code == 200
380380

381-
time.sleep(1)
381+
time.sleep(2)
382382

383383
item_date = rfc3339_str_to_datetime(test_item["properties"]["datetime"])
384384
item_date = item_date + timedelta(seconds=1)
@@ -406,7 +406,7 @@ def test_item_search_temporal_window_post(app_client, load_test_data):
406406
)
407407
assert resp.status_code == 200
408408

409-
time.sleep(1)
409+
time.sleep(2)
410410

411411
item_date = rfc3339_str_to_datetime(test_item["properties"]["datetime"])
412412
item_date_before = item_date - timedelta(seconds=1)

0 commit comments

Comments
 (0)