mirror of https://github.com/databricks/cli.git
Fixed TestAccBundleDeployUcSchema test (#1997)
## Changes It was failing because when schema.yml was removed, `catalog: main` option left set in the base pipeline definition in databricks.yml which lead to incorrect config (empty target schema) https://github.com/databricks/cli/pull/1413 Backend behaviour changed and DLT pipelines stopped to accept empty targets leading to the error which was ignored before. ## Tests ``` --- PASS: TestAccBundleDeployUcSchema (41.75s) PASS coverage: 33.3% of statements in ./... ok github.com/databricks/cli/internal/bundle 42.210s coverage: 33.3% of statements in ./... ```
This commit is contained in:
parent
e39e94b12f
commit
aa0b6080a4
|
@ -12,7 +12,6 @@ resources:
|
|||
- notebook:
|
||||
path: ./nb.sql
|
||||
development: true
|
||||
catalog: main
|
||||
|
||||
include:
|
||||
- "*.yml"
|
||||
|
|
|
@ -11,3 +11,4 @@ targets:
|
|||
pipelines:
|
||||
foo:
|
||||
target: ${resources.schemas.bar.id}
|
||||
catalog: main
|
||||
|
|
Loading…
Reference in New Issue