Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.12.0
-
None
-
Patch Available
-
Unknown
Description
Currently, during startup CamelBlueprintTestSupport waits 30 sec for Camel Context to be ready. Sometimes (quite often for us) this time is not enough even when everything goes well. The value of 30 seconds cannot be easily changed now. The patch that Ive prepared introduces possibility to customize this value, in two ways:
- Globally, by setting org.apache.camel.test.blueprint.camelContextCreationTimeout system property.
- Locally for each test, by overriding getCamelContextCreationTimeout method.
In both cases timeout is set in milliseconds.