Skip to content

Commit 73fe2eb

Browse files
committed
extend timeouts for nightly tests
1 parent 49e635f commit 73fe2eb

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

backend/test_nightly/test_cleanup_seed_files.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def seed_file_config_id(crawler_auth_headers, default_org_id, seed_file_used_id)
5454
return r.json()["id"]
5555

5656

57+
@pytest.mark.timeout(600)
5758
def test_seed_file_cleanup_cron_job(
5859
admin_auth_headers,
5960
default_org_id,

backend/test_nightly/test_crawl_errors.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import requests
2+
import pytest
23

34
from .conftest import API_PREFIX
45

56

7+
@pytest.mark.timeout(600)
68
def test_get_crawl_errors(admin_auth_headers, default_org_id, error_crawl_id):
79
r = requests.get(
810
f"{API_PREFIX}/orgs/{default_org_id}/crawls/{error_crawl_id}/errors",

backend/test_nightly/test_crawl_logs.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
("info,debug", "general,worker"),
2626
],
2727
)
28+
@pytest.mark.timeout(1800)
2829
def test_stream_crawl_logs_wacz(
2930
admin_auth_headers,
3031
default_org_id,

backend/test_nightly/test_execution_minutes_quota.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import math
22
import requests
33
import time
4-
from datetime import datetime
4+
import pytest
5+
56
from typing import Dict
67

78
from .conftest import API_PREFIX
@@ -106,6 +107,7 @@ def test_set_execution_mins_extra_quotas(org_with_quotas, admin_auth_headers):
106107
assert update["update"]
107108

108109

110+
@pytest.mark.timeout(600)
109111
def test_crawl_stopped_when_quota_reached_with_extra(
110112
org_with_quotas, admin_auth_headers
111113
):

0 commit comments

Comments
 (0)