databricks-cli/acceptance/telemetry/upload-fails-with-debug-logs/script

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
388 B
Plaintext
Raw Normal View History

2025-03-05 12:45:51 +00:00
export DATABRICKS_CLI_TELEMETRY_PIDFILE=./telemetry.pid
export DATABRICKS_CLI_TELEMETRY_LOGFILE=./out.upload_process.txt
# This test ensures that the main CLI command does not error even if
# telemetry upload fails.
trace $CLI selftest send-telemetry --debug
# Wait for the child telemetry process to finish
wait_pid.py $(cat ./telemetry.pid)
# cleanup the pid file
rm ./telemetry.pid