Skip to content
Snippets Groups Projects
Commit 1161519a authored by Georgy Moshkin's avatar Georgy Moshkin :speech_balloon:
Browse files

test: fix CI=1 hack for local runs

parent e7c8582d
No related branches found
No related tags found
1 merge request!1535fix: bug in raft snapshot application
......@@ -2184,15 +2184,7 @@ class PgClient:
def build_profile() -> str:
from_env = os.environ.get("BUILD_PROFILE")
if "CI" in os.environ:
# When running in CI BUILD_PROFILE must always be specified, we rely
# this in a couple of tests
assert from_env is not None, "BUILD_PROFILE must always be set in CI"
# When running on a developers machine, priorities the usability
return from_env or "dev"
return os.environ.get("BUILD_PROFILE", "dev")
def get_test_dir():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment