databricks-cli/acceptance/telemetry/upload-fails/script

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

13 lines
380 B
Plaintext
Raw Normal View History

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
# This test ensures that the main CLI command does not error even if
# telemetry upload fails.
2025-02-18 15:30:50 +00:00
trace $CLI selftest send-telemetry
2025-02-04 14:56:23 +00:00
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