Skip to content

Commit

Permalink
Increase timeout to avoid random errors in tests on github runners
Browse files Browse the repository at this point in the history
  • Loading branch information
nhuet committed Jan 30, 2024
1 parent 228df8f commit cb0bb43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/pickup_vrp/builders/test_instance_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def test_pickup_and_delivery():
use_lns=True,
local_search_metaheuristic=LocalSearchMetaheuristic.GUIDED_LOCAL_SEARCH,
first_solution_strategy=FirstSolutionStrategy.SAVINGS,
time_limit=5,
time_limit=10,
)
result_storage: ResultStorage = solver.solve()
assert isinstance(result_storage, ResultStorage)
Expand Down Expand Up @@ -94,7 +94,7 @@ def test_pickup_and_delivery_equilibrate_new_api():
},
local_search_metaheuristic=LocalSearchMetaheuristic.GUIDED_LOCAL_SEARCH,
first_solution_strategy=FirstSolutionStrategy.AUTOMATIC,
time_limit=5,
time_limit=10,
)
res = solver.solve()
assert isinstance(res, ResultStorage)
Expand Down Expand Up @@ -139,7 +139,7 @@ def test_selective_tsp_new_api():
parameters_cost=[ParametersCost(dimension_name="Distance", global_span=True)],
local_search_metaheuristic=LocalSearchMetaheuristic.GUIDED_LOCAL_SEARCH,
first_solution_strategy=FirstSolutionStrategy.SAVINGS,
time_limit=5,
time_limit=10,
)
res = solver.solve()
assert isinstance(res, ResultStorage)
Expand Down

0 comments on commit cb0bb43

Please sign in to comment.