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

Port backup tests to python #2907

Merged
merged 19 commits into from
Mar 21, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
try to fix error
  • Loading branch information
hubertdeng123 committed Mar 15, 2024
commit c998840a85fcd60a114b73b2b205e89da8cb8f1a
9 changes: 5 additions & 4 deletions _integration-test/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ def configure_self_hosted_environment():
for i in range(TIMEOUT_SECONDS):
try:
response = requests.get(SENTRY_TEST_HOST)
except requests.ConnectionError:
except:
time.sleep(1)
pass
if response is not None and response.status_code == 200:
break
time.sleep(1)
else:
if response is not None and response.status_code == 200:
break
assert response.status_code == 200

# Create test user
Expand Down
Loading