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

13 lines
380 B
Plaintext

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
# Wait for the child telemetry process to finish
wait_pid.py $(cat ./telemetry.pid)
# cleanup the pid file
rm ./telemetry.pid