Skip to content

Commit

Permalink
Allow configuring port for tests (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-db authored Aug 1, 2024
1 parent 1b89b97 commit b1eb5e2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/profiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ def _build_databricks_cluster_target(
profile["schema"] = schema
if session_properties is not None:
profile["session_properties"] = session_properties
if os.getenv("DBT_DATABRICKS_PORT"):
profile["connection_parameters"] = {"_port": os.getenv("DBT_DATABRICKS_PORT")}
return profile


Expand Down

0 comments on commit b1eb5e2

Please sign in to comment.