Fix #8455: fix dbt test errors when run not passed (#8545)

This commit is contained in:
Mayur Singal 2022-11-08 10:50:27 +05:30 committed by GitHub
parent ef579ce9b4
commit 83102d6697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -359,6 +359,7 @@ class DBTMixin:
self.source_config.dbtConfigSource self.source_config.dbtConfigSource
and self.dbt_manifest and self.dbt_manifest
and self.dbt_catalog and self.dbt_catalog
and self.dbt_run_results
): ):
logger.info("Processing DBT Tests Suites and Test Definitions") logger.info("Processing DBT Tests Suites and Test Definitions")
for _, dbt_test in self.dbt_tests.items(): for _, dbt_test in self.dbt_tests.items():
@ -408,6 +409,7 @@ class DBTMixin:
self.source_config.dbtConfigSource self.source_config.dbtConfigSource
and self.dbt_manifest and self.dbt_manifest
and self.dbt_catalog and self.dbt_catalog
and self.dbt_run_results
): ):
logger.info("Processing DBT Tests Cases") logger.info("Processing DBT Tests Cases")
for key, dbt_test in self.dbt_tests.items(): for key, dbt_test in self.dbt_tests.items():