Skip to content

Commit 5e1594e

Browse files
denikIsaac
andcommitted
acceptance: adapt terraform-using tests to the engine rejection
With `engine: terraform` / DATABRICKS_BUNDLE_ENGINE=terraform now rejected and the tf->direct migration mandatory, adapt the tests that exercised the terraform engine: - migrate/command/engine-config-terraform, validate/invalid-engine-{bundle,target}: goldens now show the removal error / updated "expected direct" message. - validate/engine-config-valid: the terraform-target now fails validation (musterr). - migrate/auto/plan-failure: a failed migration plan check is now a hard error (no terraform fallback); the retry still succeeds and migrates. - empty_string_dropped: drop the terraform half of the cross-engine "" comparison (terraform dropped "" via omitempty); record only the direct engine now. Co-authored-by: Isaac <no-reply@databricks.com>
1 parent 5661cff commit 5e1594e

15 files changed

Lines changed: 30 additions & 442 deletions

File tree

‎acceptance/bundle/empty_string_dropped/empty_sent.py‎

Lines changed: 0 additions & 166 deletions
This file was deleted.

‎acceptance/bundle/empty_string_dropped/out.empty_dropped_by_both.txt‎

Lines changed: 0 additions & 58 deletions
This file was deleted.

‎acceptance/bundle/empty_string_dropped/out.empty_sent_by_both.txt‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎acceptance/bundle/empty_string_dropped/out.empty_sent_by_direct_only.txt‎

Whitespace-only changes.

‎acceptance/bundle/empty_string_dropped/out.empty_sent_by_terraform_only.txt‎

Whitespace-only changes.

‎acceptance/bundle/empty_string_dropped/out.requests.terraform.json‎

Lines changed: 0 additions & 157 deletions
This file was deleted.

0 commit comments

Comments
 (0)