mirror of https://github.com/databricks/cli.git
096123674a
## Changes We were not using the readers and writers set in the test fixtures in the progress logger. This PR fixes that. It also modifies `TestAccAbortBind`, which was implicitly relying on the bug. I encountered this bug while working on https://github.com/databricks/cli/pull/1672. ## Tests Manually. From non-tty: ``` Error: failed to bind the resource, err: This bind operation requires user confirmation, but the current console does not support prompting. Please specify --auto-approve if you would like to skip prompts and proceed. ``` From tty, bind works as expected. ``` Confirm import changes? Changes will be remotely applied only after running 'bundle deploy'. [y/n]: y Updating deployment state... Successfully bound databricks_pipeline with an id '9d2dedbb-f522-4503-96ba-4bc4d5bfa77d'. Run 'bundle deploy' to deploy changes to your workspace ``` |
||
---|---|---|
.. | ||
bundles | ||
artifacts_test.go | ||
basic_test.go | ||
bind_resource_test.go | ||
deploy_test.go | ||
deploy_then_remove_resources_test.go | ||
deployment_state_test.go | ||
destroy_test.go | ||
empty_bundle_test.go | ||
environments_test.go | ||
generate_job_test.go | ||
generate_pipeline_test.go | ||
helpers.go | ||
job_metadata_test.go | ||
local_state_staleness_test.go | ||
python_wheel_test.go | ||
spark_jar_test.go | ||
validate_test.go |