-
Bug
-
Resolution: Done
-
Major
-
None
-
8.15.0.Final
-
None
-
2022 Week 02-04 (from Jan 10)
-
-
NEW
-
NEW
Even if I provide a full-fledged solverBenchmarkConfig.xml, OptaPlanner Benchmark still requires at least one property to be specified in application.properties.
This is confusing and leads to situations where the config is split between the properties and the XML.
When the property is removed, I get:
2022-01-10 08:30:27,046 ERROR [io.qua.run.Application] (Quarkus Main Thread) Failed to start application (with profile dev): java.lang.IllegalStateException: At least one of the properties quarkus.optaplanner.benchmark.solver.termination.spent-limit, quarkus.optaplanner.benchmark.solver.termination.best-score-limit, quarkus.optaplanner.benchmark.solver.termination.unimproved-spent-limit is required if the inherited solver config does not have termination configured.
This happens even when I actually have the <inheritedSolverBenchmark /> configured.