Skip to content

fix(1776): dry run of assertions failing#1778

Merged
Ekrekr merged 1 commit intodataform-co:mainfrom
ashish10alex:fix_assertions_dry_run
Jul 8, 2024
Merged

fix(1776): dry run of assertions failing#1778
Ekrekr merged 1 commit intodataform-co:mainfrom
ashish10alex:fix_assertions_dry_run

Conversation

@ashish10alex
Copy link
Copy Markdown
Contributor

Fixes #1776

The dry of assertion currently fail due to the code expecting the dry run to return at least one row on this line.

Tests

  1. Assertions passing by making the change in the MR. verified by running ./scripts/run run --dry-run <dataform_project_directory>
  2. Assertion when actually ran i.e. using ./scripts/run run ... catches assertion errors
  3. bazel test //core/... passes

PS:
This might not be the best solution, but happy to receive guidance

@Ekrekr Ekrekr self-requested a review July 8, 2024 14:42
Copy link
Copy Markdown
Contributor

@Ekrekr Ekrekr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@Ekrekr Ekrekr merged commit d3d0194 into dataform-co:main Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

All assertions fail when dry run

2 participants