[
https://issues.apache.org/jira/browse/CAMEL-7628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-7628.
--------------------------------
Resolution: Fixed
Assignee: Claus Ibsen
Thanks for the patch.
> Incorrect tests of quartz2 component
> ------------------------------------
>
> Key: CAMEL-7628
> URL: https://issues.apache.org/jira/browse/CAMEL-7628
> Project: Camel
> Issue Type: Test
> Components: camel-quartz, camel-quartz2
> Reporter: Nikolay Turpitko
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.14.0
>
> Attachments: 0001-Fix-SpringQuartzPersistentStoreTest.patch,
> 0002-Fix-SpringQuartzPersistentStoreRestart-Test.patch
>
>
> There are errors in tests of quartz2 component with persistent store such as
> org.apache.camel.component.quartz2.SpringQuartzPersistentStoreTest.
> It's application context configuration resides in file
> org/apache/camel/component/quartz2/SpringQuartzPersistentStoreTest.xml.
> Which has a suspicious issue in it: scheduler bean, which is configured to
> use DB, further passed to bean with id "quartz", but in the endpoint's uri in
> the route the bean with id "quartz2" used. I'm afraid, this test ignores
> configured quartz bean, scheduler bean, datasource and database.
> I provided patches to fix incorrect tests.
--
This message was sent by Atlassian JIRA
(v6.2#6252)