Skip to content

Make integration tests work with dbt==1.5#323

Merged
susodapop merged 3 commits into
1.5.testfrom
make-integration-tests-work
May 1, 2023
Merged

Make integration tests work with dbt==1.5#323
susodapop merged 3 commits into
1.5.testfrom
make-integration-tests-work

Conversation

@susodapop
Copy link
Copy Markdown

@susodapop susodapop commented Apr 28, 2023

Resolves #

Description

This pull request starts by implementing the patch of #319 atop our v1.5.x branch. The goal is for all existing integration tests to pass without (yet) migrating to the new pytest style tests and fixtures.

Checklist

  • I have run this code in development and it appears to resolve the stated issue
  • This PR includes tests, or tests are not required/relevant for this PR
  • I have updated the CHANGELOG.md and added information about my change to the "dbt-databricks next" section.

Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
@susodapop susodapop changed the base branch from main to 1.5.test April 28, 2023 03:20
@susodapop susodapop temporarily deployed to azure-prod-pecou April 28, 2023 21:16 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-peco April 28, 2023 21:16 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-pecou May 1, 2023 15:29 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-peco May 1, 2023 15:29 — with GitHub Actions Inactive
Jesse Whitehouse added 2 commits May 1, 2023 11:12
This is failing because the new dbt-core test runner doesn't re-raise the
initial FailFastException as of dbt-core==1.5.0rc2

Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
integration tests.

This is a mirror of:

https: //github.com/dbt-labs/dbt-spark/pull/698
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
@susodapop susodapop force-pushed the make-integration-tests-work branch from 9b2de74 to b5a9732 Compare May 1, 2023 16:15
@susodapop susodapop temporarily deployed to azure-prod-pecou May 1, 2023 16:15 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-peco May 1, 2023 16:15 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-peco May 1, 2023 18:34 — with GitHub Actions Inactive
@susodapop susodapop temporarily deployed to azure-prod-pecou May 1, 2023 18:34 — with GitHub Actions Inactive
@susodapop susodapop merged commit ca18864 into 1.5.test May 1, 2023
andrefurlan-db pushed a commit that referenced this pull request May 2, 2023
* Mirror of dbt-databricks#319 but rebased on 1.5.test branch
* Fix: test_fail_fast failure
This is failing because the new dbt-core test runner doesn't re-raise the
initial FailFastException as of dbt-core==1.5.0rc2
* Fix: log message in `impl.py` completely breaks docs generation for
integration tests. This is a mirror of: https: //github.com/dbt-labs/dbt-spark/pull/698
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
rcypher-databricks pushed a commit to rcypher-databricks/dbt-databricks that referenced this pull request May 8, 2023
* Mirror of dbt-databricks#319 but rebased on 1.5.test branch
* Fix: test_fail_fast failure
This is failing because the new dbt-core test runner doesn't re-raise the
initial FailFastException as of dbt-core==1.5.0rc2
* Fix: log message in `impl.py` completely breaks docs generation for
integration tests. This is a mirror of: https: //github.com/dbt-labs/dbt-spark/pull/698
Signed-off-by: Jesse Whitehouse <jesse.whitehouse@databricks.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant