Skip to content

Commit

Permalink
prints on ci to see what's happening.
Browse files Browse the repository at this point in the history
  • Loading branch information
VersusFacit committed Sep 27, 2024
1 parent d577531 commit 9628b80
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tests/functional/iceberg/test_incremental_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,17 @@ def test_incremental_strategies_build(self, project, setup_class):
assert len(run_results) == 4

def __check_correct_operations(self, model_name, /, rows_affected, status="SUCCESS"):
run_results = run_dbt(
run_results, out = run_dbt_and_capture(
["show", "--inline", f"select * from {{{{ ref('{model_name}') }}}} where world_id = 4"]
)
print("===================")
print("===================")
print("===================")
print(model_name)
print(out)
print("===================")
print("===================")
print("===================")
assert run_results[0].adapter_response["rows_affected"] == rows_affected
assert run_results[0].adapter_response["code"] == status

Expand Down

0 comments on commit 9628b80

Please sign in to comment.