-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix minor test bug for WPM #527
Conversation
msg = res.results[0].message | ||
assert "Compute resource alternate_warehouse does not exist" in msg | ||
assert model_name in msg | ||
|
||
|
||
@pytest.mark.skip("May fail non-deterministically due to issue in dbt test framework.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we be disable TestWarehousePerModel and leaving these ones to run. I though we should be disabling the tests that use the profiles_config_update fixture.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel like it's more valuable to validate the affirmative case, and even with the bug we identified, these additions to the profile shouldn't impact any other tests (since their schema's won't reference the compute block)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Discussed out of band. If we can't rely on read ordering, we can't guarantee this will read what it writes, so safer to keep the ones that don't need to write.
Description
Fixes minor test log bugs for WPM and long sessions.
Checklist
CHANGELOG.md
and added information about my change to the "dbt-databricks next" section.