dbt-labs / dbt-codegen

Macros that generate dbt code
https://hub.getdbt.com/dbt-labs/codegen/latest/
Apache License 2.0
459 stars 99 forks source link

Failing `test_generate_source_include_database_property` test #138

Closed dbeatty10 closed 1 year ago

dbeatty10 commented 1 year ago

Describe the bug

There's a test failing in CI. Here's the diff between the actual and the expected:

2c2
<     Actual:
---
>     Expected:
9,10c9,10
<     database: circle_test
<     schema: codegen_integration_tests_postgres_raw_data
---
>     database: analytics
>     schema: codegen_integration_tests_snowflake_raw_data

Steps to reproduce

Run the test_generate_source_include_database_property test in CI.

Screenshots and log output

13:37:02  15 of 21 FAIL 1 test_generate_source_include_database_property ................. [FAIL 1 in 0.03s]
13:37:02  16 of 21 START test test_generate_source_include_schema_property ............... [RUN]
13:37:02  version: 2
13:37:02  Completed with 2 errors and 0 warnings:
13:37:02  
13:37:02  Failure in test test_generate_source_all_args (tests/test_generate_source_all_args.sql)
13:37:02    Got 1 result, configured to fail if != 0
13:37:02  
13:37:02    compiled Code at target/compiled/codegen_integration_tests/tests/test_generate_source_all_args.sql
13:37:02  
13:37:02  Failure in test test_generate_source_include_database_property (tests/test_generate_source_include_database_property.sql)
13:37:02    Got 1 result, configured to fail if != 0
13:37:02  
13:37:02    compiled Code at target/compiled/codegen_integration_tests/tests/test_generate_source_include_database_property.sql
13:37:02  
13:37:02  Done. PASS=19 WARN=0 ERROR=2 SKIP=0 TOTAL=21

Exited with code exit status 1

System information

The contents of your packages.yml file:

Which database are you using dbt with?

The output of dbt --version:

<output goes here>

The operating system you're using:

The output of python --version:

Additional context

Are you interested in contributing the fix?