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

12 lines
336 B
Plaintext

export DATABRICKS_CLI_TELEMETRY_PID_FILE=./telemetry.pid
# This test ensures that the main CLI command does not error even if
# telemetry upload fails.
trace $CLI telemetry dummy
echo "waiting for telemetry process to finish"
# Wait for the child telemetry process to finish
wait_file ./telemetry.pid
wait_pid $(cat ./telemetry.pid)