Commit 862faa8
authored
acc: Added materialised test config as out.config.json golden file (#3174)
## Changes
Added materialised test config as `out.config.toml` golden file.
Now each tests compares the test config it has (defined in test.toml and
nested folders) with the config stored in `out.config.toml` which is
materialised as golden file.
## Why
This gives us transparency and visibility into what are the settings
each tests is run against. Any changes to the parent test settings won't
go unnoticed due to golden file comparison.
## Tests
Existing tests succeed
<!-- If your PR needs to be included in the release notes for next
release,
add a separate entry in NEXT_CHANGELOG.md as part of your PR. -->1 parent fd9c3c7 commit 862faa8
File tree
310 files changed
+1674
-8
lines changed- acceptance
- auth
- bundle_and_profile
- credentials
- basic
- oauth
- pat
- bundle
- apps
- app_yaml
- config_section
- artifacts
- artifact_path_with_volume
- volume_doesnot_exist
- volume_not_deployed
- artifacts_dynamic_version
- build_and_files_whl
- build_and_files
- glob_exact_whl
- globs_in_files_in_include
- globs_in_files
- globs_invalid
- nil_artifacts
- same_name_libraries
- shell
- bash
- basic
- cmd
- default
- err-bash
- err-sh
- invalid
- sh
- unique_name_libraries
- whl_change_version
- whl_dbfs
- whl_dynamic
- whl_explicit
- whl_implicit_custom_path
- whl_implicit_notebook
- whl_implicit
- whl_multiple
- whl_no_cleanup
- whl_prebuilt_multiple
- whl_prebuilt_outside_dynamic
- whl_prebuilt_outside
- whl_via_environment_key
- debug
- direct
- tf
- deployment
- bind
- cluster
- dashboard
- recreation
- experiment
- job
- generate-and-bind
- job-abort-bind
- job-spark-python-task
- noop-job
- python-job
- model-serving-endpoint
- quality-monitor
- registered-model
- schema
- secret-scope
- volume
- unbind
- job
- python-job
- deploy
- dashboard
- detect-change
- nested-folders
- simple_outside_bundle_root
- simple_syncroot
- simple
- empty-bundle
- experimental-python
- fail-on-active-runs
- files/no-snapshot-sync
- jobs
- check-metadata
- double-underscore-keys
- fail-on-active-runs
- mlops-stacks
- pipeline
- auto-approve
- recreate
- python-notebook
- schema/auto-approve
- secret-scope
- backend-type
- permissions
- volume/recreate
- destroy
- all-resources
- jobs-and-pipeline
- environments/dependencies
- experimental/skip_name_prefix_for_schema
- generate
- app_subfolders
- dashboard-inplace
- dashboard
- git_job
- git-permerror
- help
- bundle-deployment
- bundle-deploy
- bundle-destroy
- bundle-generate-dashboard
- bundle-generate-job
- bundle-generate-pipeline
- bundle-generate
- bundle-init
- bundle-open
- bundle-run
- bundle-schema
- bundle-summary
- bundle-sync
- bundle-validate
- bundle
- includes
- include_outside_root
- non_yaml_in_include
- yml_outside_root
- integration_whl
- base
- custom_params
- interactive_cluster_dynamic_version
- interactive_cluster
- interactive_single_user
- serverless_custom_params
- serverless_dynamic_version
- serverless
- wrapper_custom_params
- wrapper
- libraries
- maven
- pypi
- local_state_staleness
- open
- override
- clusters
- job_cluster_var
- job_cluster
- job_tasks
- merge-string-map
- pipeline_cluster
- paths
- fallback_metric
- fallback
- git_source_jobs
- invalid_pipeline_globs
- nominal
- pipeline_expected_file_got_notebook
- pipeline_globs
- pipeline_root_path_doesnotexist
- pipelines_glob_include_and_root_path
- pipelines_root_path_outside_sync_root
- relative_path_outside_root
- relative_path_translation
- presets/preset_vs_dev_mode
- python
- mutator-ordering
- pipelines-support
- resolve-variable
- resource-loading
- restricted-execution
- unicode-support
- quality_monitor
- resources
- apps
- clusters
- deploy/simple
- run/spark_python_task
- jobs
- pipelines
- schemas
- run
- app-with-job
- basic
- diagnostics
- inline-script
- basic
- cwd
- databricks-cli
- profile-is-passed/from_flag
- target-is-passed
- default
- from_flag
- no-auth
- no-bundle
- no-separator
- no-state
- scripts
- restricted-execution
- state
- summary
- missing-libraries-file-path
- modified_status
- syncroot
- dotdot-git
- dotdot-nogit
- sync
- dryrun
- telemetry
- deploy-artifact-path-type
- deploy-compute-type
- deploy-config-file-count
- deploy-error
- deploy-mode
- deploy-name-prefix
- custom
- mode-development
- deploy-no-uuid
- deploy-target-count
- deploy-variable-count
- deploy-whl-artifacts
- deploy
- templates-machinery
- helpers-error
- helpers
- wrong-path
- wrong-url
- templates
- dbt-sql
- default-python
- classic
- combinations
- classic
- serverless
- integration_classic
- serverless-customcatalog
- serverless
- default-sql
- experimental-jobs-as-code
- lakeflow-pipelines
- python
- sql
- telemetry
- custom-template
- dbt-sql
- default-python
- default-sql
- trampoline
- warning_message_with_new_spark
- warning_message_with_old_spark
- warning_message
- undefined_resources
- validate
- dashboard_defaults
- empty_resources
- empty_def
- empty_dict
- null
- with_grants
- with_permissions
- include_locations
- job-references
- models
- missing_name
- user_id
- presets_max_concurrent_runs
- presets_name_prefix
- presets_tags
- sync_patterns
- volume_defaults
- variables
- arg-repeat
- complex-cross-ref
- complex-cycle-self
- complex-cycle
- complex-simple
- complex-transitive-deeper
- complex-transitive-deep
- complex-transitive
- complex-with-var-reference
- complex-within-complex
- complex_multiple_files
- complex
- cycle
- double_underscore
- empty
- env_overrides
- file-defaults
- git-branch
- host
- issue_2436
- issue_3039_lookup_with_ref
- prepend-workspace-var
- resolve-builtin
- resolve-empty
- resolve-field-within-complex
- resolve-nonstrings
- resolve-vars-in-root-path
- vanilla
- variable_overrides_in_target
- without_definition
- volume_path
- invalid_file
- invalid_resource
- invalid_root
- invalid_state
- valid
- cmd
- patchwhl
- sync-from-file
- sync-without-args
- sync
- dryrun
- unknown-subcommand
- workspace
- apps
- run-local-node
- run-local
- queries
- query-history
- help
- internal
- panic
- pipelines
- init
- error-cases
- python
- sql
- install-pipelines-cli
- selftest
- basic
- bundleconfig
- different_target
- disabled1
- disabled2
- empty
- matching
- override
- diff
- envmatrix
- inner
- record_cloud
- basic
- error
- pipeline-crud
- volume-io
- workspace-file-io
- server
- timeout
- trap
- telemetry
- failure
- partial-success
- skipped
- success
- timeout
- terraform
- workspace/jobs
- create-error
- create
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
310 files changed
+1674
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
76 | 78 | | |
77 | 79 | | |
78 | 80 | | |
| |||
464 | 466 | | |
465 | 467 | | |
466 | 468 | | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
467 | 474 | | |
468 | 475 | | |
469 | 476 | | |
470 | 477 | | |
471 | 478 | | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
472 | 482 | | |
473 | 483 | | |
474 | 484 | | |
| |||
600 | 610 | | |
601 | 611 | | |
602 | 612 | | |
603 | | - | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
604 | 618 | | |
605 | 619 | | |
606 | 620 | | |
| |||
623 | 637 | | |
624 | 638 | | |
625 | 639 | | |
626 | | - | |
| 640 | + | |
627 | 641 | | |
628 | 642 | | |
629 | 643 | | |
| |||
662 | 676 | | |
663 | 677 | | |
664 | 678 | | |
665 | | - | |
| 679 | + | |
666 | 680 | | |
667 | 681 | | |
668 | 682 | | |
| |||
677 | 691 | | |
678 | 692 | | |
679 | 693 | | |
680 | | - | |
| 694 | + | |
681 | 695 | | |
682 | 696 | | |
683 | 697 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
0 commit comments