[Bug] dbt --warn-error test results in compilation error when tests are not yet renamed on dbt-core>=1.8.0 #10274
Closed
2 tasks done
Labels
bug
Something isn't working
unit tests
Issues related to built-in dbt unit testing functionality
wontfix
Not a bug or out of scope for dbt-core
Is this a new bug in dbt-core?
Current Behavior
I wasn't sure if this was a regression or a new bug 🤔. Let me know if you would like me to make any edits if you believe this is a regression.
When running
dbt --warn-error test
immediately after runningdbt clean && dbt deps
and thetests
have not yet been renamed todata_tests
we see a compilation failure.Please note that this failure does not occur when you execute
dbt run
ordbt build
on a cleaned project. This only happens with thedbt --warn-error test
command.Expected Behavior
The
dbt --warn-error test
will still work as expected for the time being while thetests
naming convention is still allowed. I expect an error like this once thetests
naming convention is fully removed.Steps To Reproduce
dbt clean
dbt deps
dbt --warn-error test
Relevant log output
Environment
Which database adapter are you using with dbt?
bigquery
Additional Context
I was able to recreate this compilation error using the above steps, but this also came out of a bug raised on the Fivetran Google Ads package which seemed odd as I would not expect this warning to cause the users entire tests framework to not be able to be executed.
The text was updated successfully, but these errors were encountered: