mirror of
https://github.com/Comfy-Org/ComfyUI.git
synced 2026-09-21 05:27:57 -05:00
Temporarily disable testing with --enable-assets (#16334)
This is just to unblock other work and reduce frustration while we address the flaky tests.
This commit is contained in:
@@ -101,6 +101,9 @@ def comfy_url_and_proc(comfy_tmp_base_dir: Path, request: pytest.FixtureRequest)
|
||||
- autoscan disabled
|
||||
Returns (base_url, process, port)
|
||||
"""
|
||||
# TODO: re-enable once the --enable-assets subprocess runs stop flaking.
|
||||
pytest.skip("assets subprocess tests temporarily disabled")
|
||||
|
||||
port = _free_port()
|
||||
db_url = request.config.getoption("--db-url")
|
||||
if not db_url:
|
||||
|
||||
@@ -43,6 +43,8 @@ def run_quick_startup(tmp_path: Path, *flags: str) -> str:
|
||||
return result.stdout + result.stderr
|
||||
|
||||
|
||||
# TODO: re-enable once the --enable-assets startup runs stop flaking.
|
||||
@pytest.mark.skip(reason="assets startup tests temporarily disabled")
|
||||
@pytest.mark.parametrize(
|
||||
("hashing_flag", "expected"),
|
||||
[
|
||||
|
||||
@@ -482,7 +482,8 @@ class TestExecution:
|
||||
{ "extra_args" : ["--cache-classic"], "should_cache_results" : True },
|
||||
{ "extra_args" : ["--cache-lru", 100], "should_cache_results" : True },
|
||||
{ "extra_args" : ["--cache-none"], "should_cache_results" : False },
|
||||
{"extra_args": ["--enable-assets"], "should_cache_results": True, "assets": True},
|
||||
# TODO: re-enable once the --enable-assets execution runs stop flaking.
|
||||
# {"extra_args": ["--enable-assets"], "should_cache_results": True, "assets": True},
|
||||
])
|
||||
def server(self, args_pytest, request, tmp_path_factory):
|
||||
# Start server
|
||||
|
||||
Reference in New Issue
Block a user