File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 33
44This script runs all the individual test modules and displays
55a summary of test results with visual indicators.
6+
7+ In order to run the script, the following environment variables need to be set:
8+ - DATABRICKS_SERVER_HOSTNAME: The hostname of the Databricks server
9+ - DATABRICKS_HTTP_PATH: The HTTP path of the Databricks server
10+ - DATABRICKS_TOKEN: The token to use for authentication
611"""
12+
713import os
814import sys
915import logging
Original file line number Diff line number Diff line change 66import logging
77from databricks .sql .client import Connection
88
9- logging .basicConfig (level = logging .DEBUG )
9+ logging .basicConfig (level = logging .INFO )
1010logger = logging .getLogger (__name__ )
1111
1212
@@ -93,7 +93,7 @@ def test_sea_sync_query_without_cloud_fetch():
9393 Test executing a query synchronously using the SEA backend with cloud fetch disabled.
9494
9595 This function connects to a Databricks SQL endpoint using the SEA backend,
96- executes a query with cloud fetch disabled, and verifies that execution completes successfully.
96+ executes a simple query with cloud fetch disabled, and verifies that execution completes successfully.
9797 """
9898 server_hostname = os .environ .get ("DATABRICKS_SERVER_HOSTNAME" )
9999 http_path = os .environ .get ("DATABRICKS_HTTP_PATH" )
You can’t perform that action at this time.
0 commit comments