Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Give test_crawl_timeout 10 mins to finish #1627

Merged
merged 1 commit into from Mar 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions backend/test_nightly/test_crawl_timeout.py
Expand Up @@ -17,8 +17,8 @@ def test_crawl_timeout(admin_auth_headers, default_org_id, timeout_crawl):

attempts = 0
while True:
# Try for 2 minutes before failing
if attempts > 24:
# Try for 10 minutes before failing
if attempts > 30:
assert False

r = requests.get(
Expand All @@ -27,7 +27,7 @@ def test_crawl_timeout(admin_auth_headers, default_org_id, timeout_crawl):
)
if r.json()["state"] == "complete":
break
time.sleep(10)
time.sleep(20)
attempts += 1


Expand Down