|
143 | 143 | -- depends_on: {{ ref('view1') }} |
144 | 144 | """ |
145 | 145 |
|
146 | | -depend_strategy_timeout_reflection = """ |
147 | | -{{ config(alias='This will mock a timeout when using depend', |
| 146 | +wait_strategy_timeout_reflection = """ |
| 147 | +{{ config(alias='This will mock a timeout when using wait', |
148 | 148 | materialized='reflection', |
149 | | - reflection_strategy='depend', |
| 149 | + reflection_strategy='wait', |
150 | 150 | max_wait_time=1, |
151 | 151 | display=['Date', 'DayOfWeek', 'PdDistrict', 'Category'], |
152 | 152 | reflection_type='raw')}} |
@@ -191,7 +191,7 @@ def models(self): |
191 | 191 | "default_displays_model.sql": default_displays_model, |
192 | 192 | "name_reflection_from_alias.sql": name_reflection_from_alias_model, |
193 | 193 | "name_reflection_from_filename.sql": name_reflection_from_filename_model, |
194 | | - "depend_strategy_timeout_reflection.sql": depend_strategy_timeout_reflection, |
| 194 | + "wait_strategy_timeout_reflection.sql": wait_strategy_timeout_reflection, |
195 | 195 | "trigger_strategy_timeout_reflection.sql": trigger_strategy_timeout_reflection, |
196 | 196 | } |
197 | 197 |
|
@@ -432,7 +432,7 @@ def testNameReflectionFromFilename(self, project, client): |
432 | 432 | assert reflection["partitionDistributionStrategy"] == "STRIPED" |
433 | 433 |
|
434 | 434 | def testDependStrategyTimeoutReflection(self, project): |
435 | | - (results, log_output) = run_dbt_and_capture(["run", "--select", "view1", "depend_strategy_timeout_reflection"]) |
| 435 | + (results, log_output) = run_dbt_and_capture(["run", "--select", "view1", "wait_strategy_timeout_reflection"]) |
436 | 436 | assert "did not become available within 1 seconds, skipping wait" in log_output |
437 | 437 |
|
438 | 438 | def testTriggerStrategyTimeoutReflection(self, project): |
|
0 commit comments