Skip to content

Commit

Permalink
Update partial success test to assert partial successes mean that the…
Browse files Browse the repository at this point in the history
… run failed
  • Loading branch information
QMalcolm committed Dec 9, 2024
1 parent 03fdb4c commit 0c96472
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/functional/microbatch/test_microbatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ def models(self):
def test_run_with_event_time(self, project):
# run all partitions from start - 2 expected rows in output, one failed
with patch_microbatch_end_time("2020-01-03 13:57:00"):
_, console_output = run_dbt_and_capture(["run"])
_, console_output = run_dbt_and_capture(["run"], expect_pass=False)

assert "PARTIAL SUCCESS (2/3)" in console_output
assert "Completed with 1 partial success" in console_output
Expand Down

0 comments on commit 0c96472

Please sign in to comment.