diff --git a/tests/adapter/dbt/tests/adapter/dbt_clone/test_dbt_clone.py b/tests/adapter/dbt/tests/adapter/dbt_clone/test_dbt_clone.py index 1b7db87698c..2a76540236b 100644 --- a/tests/adapter/dbt/tests/adapter/dbt_clone/test_dbt_clone.py +++ b/tests/adapter/dbt/tests/adapter/dbt_clone/test_dbt_clone.py @@ -85,17 +85,14 @@ def copy_state(self, project_root): def run_and_save_state(self, project_root, with_snapshot=False): results = run_dbt(["seed"]) assert len(results) == 1 - assert not any(r.node.deferred for r in results) results = run_dbt(["run"]) assert len(results) == 2 - assert not any(r.node.deferred for r in results) results = run_dbt(["test"]) assert len(results) == 2 if with_snapshot: results = run_dbt(["snapshot"]) assert len(results) == 1 - assert not any(r.node.deferred for r in results) # copy files self.copy_state(project_root) @@ -226,6 +223,7 @@ def test_clone_same_target_and_state(self, project, unique_schema, other_schema) clone_args = [ "clone", + "--defer", "--state", "target", ]