Skip to content

Commit ee838d9

Browse files
committed
fix infinite test
1 parent 1e86f83 commit ee838d9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/functional/adapter/dremio_specific/test_reflections.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,10 @@
143143
-- depends_on: {{ ref('view1') }}
144144
"""
145145

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',
148148
materialized='reflection',
149-
reflection_strategy='depend',
149+
reflection_strategy='wait',
150150
max_wait_time=1,
151151
display=['Date', 'DayOfWeek', 'PdDistrict', 'Category'],
152152
reflection_type='raw')}}
@@ -191,7 +191,7 @@ def models(self):
191191
"default_displays_model.sql": default_displays_model,
192192
"name_reflection_from_alias.sql": name_reflection_from_alias_model,
193193
"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,
195195
"trigger_strategy_timeout_reflection.sql": trigger_strategy_timeout_reflection,
196196
}
197197

@@ -432,7 +432,7 @@ def testNameReflectionFromFilename(self, project, client):
432432
assert reflection["partitionDistributionStrategy"] == "STRIPED"
433433

434434
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"])
436436
assert "did not become available within 1 seconds, skipping wait" in log_output
437437

438438
def testTriggerStrategyTimeoutReflection(self, project):

0 commit comments

Comments
 (0)