Skip to content

Commit

Permalink
Disable pooled
Browse files Browse the repository at this point in the history
  • Loading branch information
a-masterov committed Dec 4, 2024
1 parent 2631f43 commit 0b634e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_runner/cloud_regress/test_cloud_regress.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ def setup(neon_api: NeonAPI):
log.info("Branch ID: %s", current_branch_id)
neon_api.configure_endpoint(project_id, primary_endpoint_id, {"endpoint": {"branch_id": current_branch_id}})
neon_api.wait_for_operation_to_finish(project_id)
uri = neon_api.get_connection_uri(project_id, current_branch_id)["uri"]
uri = neon_api.get_connection_uri(project_id, current_branch_id, pooled=False)["uri"]

pgconn = PgConnectParam(uri)
log.info("Hostname: %s", pgconn.host)

yield pgconn

Expand Down

0 comments on commit 0b634e3

Please sign in to comment.