databricks-cli/acceptance/telemetry/dummy-without-server/script

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

13 lines
402 B
Plaintext
Raw Normal View History

2025-02-04 14:34:25 +00:00
export DATABRICKS_CLI_TELEMETRY_PID_FILE=./telemetry.pid
2025-02-04 15:25:59 +00:00
export DATABRICKS_CLI_TELEMETRY_UPLOAD_LOGS_FILE=./out.upload.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.
trace $CLI telemetry dummy
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-04 14:56:23 +00:00
wait_file ./telemetry.pid
wait_pid $(cat ./telemetry.pid)