camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Turpitko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-7628) Incorrect test of quartz2 component
Date Thu, 24 Jul 2014 05:54:39 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-7628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nikolay Turpitko updated CAMEL-7628:
------------------------------------

    Attachment: 0002-Fix-SpringQuartzPersistentStoreRestart-Test.patch

Fix for SpringQuartzPersistentStoreRestartAppTest & SpringQuartzPersistentStoreRestartRouteTest

> Incorrect test of quartz2 component
> -----------------------------------
>
>                 Key: CAMEL-7628
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7628
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-quartz2
>    Affects Versions: 2.14.0
>            Reporter: Nikolay Turpitko
>         Attachments: 0001-Fix-SpringQuartzPersistentStoreTest.patch, 0002-Fix-SpringQuartzPersistentStoreRestart-Test.patch
>
>
> Test of quartz2 component org.apache.camel.component.quartz2.SpringQuartzPersistentStoreTest
is not correct.
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message