Skip to content

Commit

Permalink
Put new test edge behavior behind flag.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterallenwebb committed Dec 4, 2024
1 parent 333294f commit 7557712
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions core/dbt/compilation.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,10 @@ def link_graph(self, manifest: Manifest):
raise RuntimeError("Found a cycle: {}".format(cycle))

def add_test_edges(self, manifest: Manifest) -> None:
# if not get_flags().USE_FAST_TEST_EDGES:
# self.add_test_edges_1(manifest)
# else:
# self.add_test_edges_2(manifest)
self.add_test_edges_2(manifest)
if not get_flags().USE_FAST_TEST_EDGES:
self.add_test_edges_1(manifest)
else:
self.add_test_edges_2(manifest)

Check warning on line 212 in core/dbt/compilation.py

View check run for this annotation

Codecov / codecov/patch

core/dbt/compilation.py#L212

Added line #L212 was not covered by tests

def add_test_edges_1(self, manifest: Manifest) -> None:
"""This method adds additional edges to the DAG. For a given non-test
Expand Down

0 comments on commit 7557712

Please sign in to comment.