Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-7628

Incorrect tests of quartz2 component

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Test
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.14.0
    • Component/s: camel-quartz, camel-quartz2
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              davsclaus Claus Ibsen
              Reporter:
              Nikolay-Turpitko Nikolay Turpitko

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment