Skip to content

Commit

Permalink
force token-based auth for azure external location tests
Browse files Browse the repository at this point in the history
  • Loading branch information
donotpush committed Dec 11, 2024
1 parent 29f296d commit 51f31b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/load/pipeline/test_databricks_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
ids=lambda x: x.name,
)
def test_databricks_external_location(destination_config: DestinationTestConfiguration) -> None:
# force token-based authentication
os.environ["DESTINATION__DATABRICKS__CREDENTIALS__CLIENT_ID"] = ""
os.environ["DESTINATION__DATABRICKS__CREDENTIALS__CLIENT_SECRET"] = ""

# do not interfere with state
os.environ["RESTORE_FROM_DESTINATION"] = "False"
# let the package complete even with failed jobs
Expand Down

0 comments on commit 51f31b4

Please sign in to comment.