pull latest

This commit is contained in:
Shreyas Goenka 2025-02-24 15:56:05 +01:00
parent 8cfbb335c8
commit a0e6f8f635
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
5 changed files with 2 additions and 4 deletions

View File

@ -1,8 +1,8 @@
export DATABRICKS_CLI_TELEMETRY_PID_FILE=./telemetry.pid
export DATABRICKS_CLI_TELEMETRY_UPLOAD_LOGS_FILE=./out.upload_process.txt
# Configure a timeout of 0 seconds. This ensures that the timeout is respected and the
# telemetry process does not try to upload logs.
# Configure a timeout of 0 seconds. This test validates that the timeout is respected
# and the telemetry process does not try to upload logs.
export DATABRICKS_CLI_TELEMETRY_UPLOAD_TIMEOUT="0s"
trace $CLI selftest send-telemetry

View File

@ -176,7 +176,6 @@ func inheritEnvVars() []string {
return out
}
// TODO: Add tests validating the auth resolution in the telemetry worker.
func uploadTelemetry(ctx context.Context, cmdStr string, start, end time.Time, exitCode int) {
// Nothing to upload.
if !telemetry.HasLogs(ctx) {

View File

@ -11,7 +11,6 @@ func New() *cobra.Command {
Hidden: true,
}
// TODO: Run the acceptance tests as integration tests?
cmd.AddCommand(newSendTelemetry())
return cmd
}