From 6332964b05d09955773ab7b96979590c83d52cda Mon Sep 17 00:00:00 2001 From: mymissuniverse Date: Mon, 10 Aug 2026 12:40:45 +0900 Subject: [PATCH] Fix structured trace test timeout --- tests/test_recipe_structured_optimization_trace.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_recipe_structured_optimization_trace.py b/tests/test_recipe_structured_optimization_trace.py index 6e51c9ce9..e2dd94a35 100644 --- a/tests/test_recipe_structured_optimization_trace.py +++ b/tests/test_recipe_structured_optimization_trace.py @@ -3,6 +3,7 @@ import pytest from helpers.utils import bin_packing_model +from pyscipopt import SCIP_PARAMSETTING from pyscipopt.recipes.structured_optimization_trace import ( attach_structured_optimization_trace, structured_optimization_trace, @@ -147,7 +148,7 @@ def test_structured_optimization_trace_records_run_end_on_exception(): def test_structured_optimization_trace_reuses_handler_for_repeated_contexts(tmp_path): model = _model() - model.setParam("limits/time", 1) + model.setPresolve(SCIP_PARAMSETTING.OFF) first_path = tmp_path / "first.jsonl" second_path = tmp_path / "second.jsonl"