2025-03-02 14:27:45 +00:00
|
|
|
export DATABRICKS_CLI_TELEMETRY_PIDFILE=./telemetry.pid
|
|
|
|
export DATABRICKS_CLI_TELEMETRY_LOGFILE=./out.upload_process.txt
|
2025-02-03 03:18:38 +00:00
|
|
|
|
2025-02-21 15:58:45 +00:00
|
|
|
# Unset the token which is configured by default
|
|
|
|
# in acceptance tests
|
|
|
|
export DATABRICKS_TOKEN=""
|
|
|
|
|
|
|
|
export DATABRICKS_CLIENT_ID=client_id
|
|
|
|
export DATABRICKS_CLIENT_SECRET=client_secret
|
2025-02-18 16:26:16 +00:00
|
|
|
|
2025-02-18 15:30:50 +00:00
|
|
|
trace $CLI selftest send-telemetry
|
2025-02-04 14:34:25 +00:00
|
|
|
|
2025-02-04 14:56:23 +00:00
|
|
|
echo "waiting for telemetry process to finish"
|
|
|
|
|
2025-02-04 14:34:25 +00:00
|
|
|
# Wait for the child telemetry process to finish
|
2025-02-28 11:49:29 +00:00
|
|
|
wait_pid.py $(cat ./telemetry.pid)
|
2025-02-05 14:32:19 +00:00
|
|
|
|
|
|
|
# cleanup the pid file
|
2025-02-28 16:58:10 +00:00
|
|
|
rm ./telemetry.pid
|