Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
msullivan committed Nov 26, 2024
1 parent bf05093 commit 6336d49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gel/_testbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ def _start_cluster(*, cleanup_atexit=True):
capture_output=True,
text=True,
)
print("VERSION", version_res.stdout)
is_gel = version_res.stdout.startswith('gel-server,')

role = 'admin' if is_gel else 'edgedb'
Expand All @@ -107,6 +108,7 @@ def _start_cluster(*, cleanup_atexit=True):
"--auto-shutdown",
f"--bootstrap-command=ALTER ROLE {role} {{SET password := 'test'}}",
]
print("STARTING UP", args)

help_args = [gel_server, "--help"]
if sys.platform == 'win32':
Expand Down

0 comments on commit 6336d49

Please # to comment.