Fix master test failures (#3000)

* fix for tests?

* fix tests on master
This commit is contained in:
Hubert Deng 2024-04-26 11:27:58 -07:00 committed by GitHub
parent 6c67717fc5
commit 6f91da5ea5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -40,7 +40,7 @@ def configure_self_hosted_environment(request):
#!/bin/bash
touch /created-by-enhance-image
apt-get update
apt-get install -y gcc libsasl2-dev python-dev libldap2-dev libssl-dev
apt-get install -y gcc libsasl2-dev python-dev-is-python3 libldap2-dev libssl-dev
"""
with open("sentry/enhance-image.sh", "w") as script_file:
@ -52,7 +52,7 @@ apt-get install -y gcc libsasl2-dev python-dev libldap2-dev libssl-dev
with open("sentry/requirements.txt", "w") as req_file:
req_file.write("python-ldap\n")
os.environ["MINIMIZE_DOWNTIME"] = "1"
subprocess.run(["./install.sh"], check=True)
subprocess.run(["./install.sh"], check=True, capture_output=True)
# Create test user
subprocess.run(
[