Skip to content

Commit 4e0238d

Browse files
committed
run same model multiple times
1 parent 9cef3ad commit 4e0238d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tests/functional/adapter/test_new_project.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,11 @@ def models(self):
7878
def test_new_project(self, project):
7979
results = run_dbt(["build"])
8080
assert len(results) == 5
81+
82+
def test_run_same_model_multiple_times(self, project):
83+
results = run_dbt(["run"])
84+
assert len(results) == 2
85+
86+
for i in range(10):
87+
run_dbt(["run", "-s", "my_second_dbt_model"])
88+
assert len(results) == 2

0 commit comments

Comments
 (0)