Skip to content

Commit dfc089c

Browse files
authored
Don't skip xfail tests with dq only provider (#12440)
1 parent 456154d commit dfc089c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ydb/library/yql/tests/sql/dq_file.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,17 @@ def run_test(suite, case, cfg, tmpdir, what, yql_http_file_server):
2626
sql_query = program_file_descr.read()
2727

2828
force_blocks = what == 'ForceBlocks'
29+
xfail = is_xfail(config)
30+
2931
if force_blocks:
3032
if is_skip_forceblocks(config):
3133
pytest.skip('skip force blocks requested')
3234
if re.search(r"skip force_blocks", sql_query):
3335
pytest.skip('skip force blocks requested')
3436
else:
35-
if 'ytfile can not' in sql_query or 'yt' not in get_supported_providers(config):
37+
if not xfail and ('ytfile can not' in sql_query or 'yt' not in get_supported_providers(config)):
3638
pytest.skip('yqlrun is not supported')
3739

38-
xfail = is_xfail(config)
39-
4040
extra_args=["--emulate-yt"]
4141
if is_with_final_result_issues(config):
4242
extra_args += ["--with-final-issues"]

0 commit comments

Comments
 (0)