Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

ashish10alex
Copy link
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
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
1 of 2 checks passed
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