Skip to content

Commit 38c170d

Browse files
committed
remove fixture timeout override
1 parent 6cc6e88 commit 38c170d

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

backend/test_nightly/conftest.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ def admin_auth_headers():
3434

3535

3636
@pytest.fixture(scope="session")
37-
@pytest.mark.timeout(1200)
3837
def default_org_id(admin_auth_headers):
3938
while True:
4039
r = requests.get(f"{API_PREFIX}/orgs", headers=admin_auth_headers)
@@ -49,7 +48,6 @@ def default_org_id(admin_auth_headers):
4948

5049

5150
@pytest.fixture(scope="session")
52-
@pytest.mark.timeout(1200)
5351
def crawler_auth_headers(admin_auth_headers, default_org_id):
5452
requests.post(
5553
f"{API_PREFIX}/orgs/{default_org_id}/add-user",
@@ -75,7 +73,6 @@ def crawler_auth_headers(admin_auth_headers, default_org_id):
7573

7674

7775
@pytest.fixture(scope="session")
78-
@pytest.mark.timeout(1200)
7976
def crawl_id_wr(admin_auth_headers, default_org_id):
8077
# Start crawl.
8178
crawl_data = {
@@ -108,7 +105,6 @@ def crawl_id_wr(admin_auth_headers, default_org_id):
108105

109106

110107
@pytest.fixture(scope="session")
111-
@pytest.mark.timeout(1200)
112108
def crawl_id_wr_specs(admin_auth_headers, default_org_id):
113109
# Start crawl.
114110
crawl_data = {
@@ -141,7 +137,6 @@ def crawl_id_wr_specs(admin_auth_headers, default_org_id):
141137

142138

143139
@pytest.fixture(scope="session")
144-
@pytest.mark.timeout(1200)
145140
def crawl_config_info(admin_auth_headers, default_org_id):
146141
# Start crawl.
147142
crawl_data = {
@@ -187,7 +182,6 @@ def crawl_config_info(admin_auth_headers, default_org_id):
187182

188183

189184
@pytest.fixture(scope="session")
190-
@pytest.mark.timeout(1200)
191185
def large_crawl_id(admin_auth_headers, default_org_id):
192186
# Start crawl
193187
crawl_data = {
@@ -224,7 +218,6 @@ def large_crawl_id(admin_auth_headers, default_org_id):
224218

225219

226220
@pytest.fixture(scope="session")
227-
@pytest.mark.timeout(1200)
228221
def large_crawl_finished(admin_auth_headers, default_org_id, large_crawl_id):
229222
# Wait for crawl to complete
230223
while True:
@@ -241,7 +234,6 @@ def large_crawl_finished(admin_auth_headers, default_org_id, large_crawl_id):
241234

242235

243236
@pytest.fixture(scope="session")
244-
@pytest.mark.timeout(1200)
245237
def timeout_crawl(admin_auth_headers, default_org_id):
246238
# Start crawl
247239
crawl_data = {
@@ -264,7 +256,6 @@ def timeout_crawl(admin_auth_headers, default_org_id):
264256

265257

266258
@pytest.fixture(scope="session")
267-
@pytest.mark.timeout(1200)
268259
def max_crawl_size_crawl_id(admin_auth_headers, default_org_id):
269260
# Start crawl
270261
crawl_data = {
@@ -289,7 +280,6 @@ def max_crawl_size_crawl_id(admin_auth_headers, default_org_id):
289280

290281

291282
@pytest.fixture(scope="session")
292-
@pytest.mark.timeout(1200)
293283
def error_crawl_id(admin_auth_headers, default_org_id):
294284
crawl_data = {
295285
"runNow": True,
@@ -322,7 +312,6 @@ def error_crawl_id(admin_auth_headers, default_org_id):
322312

323313

324314
@pytest.fixture(scope="session")
325-
@pytest.mark.timeout(1200)
326315
def org_with_quotas(admin_auth_headers):
327316
name = "Quota Org " + datetime.datetime.utcnow().isoformat()
328317
r = requests.post(
@@ -334,7 +323,6 @@ def org_with_quotas(admin_auth_headers):
334323

335324

336325
@pytest.fixture(scope="session")
337-
@pytest.mark.timeout(1200)
338326
def deleted_crawl_id(admin_auth_headers, default_org_id):
339327
# Start crawl.
340328
crawl_data = {

0 commit comments

Comments
 (0)