Uploaded image for project: 'BatchEE'
  1. BatchEE
  2. BATCHEE-118

Camel extension checkJobWasExecutedSynchonously test fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • batchee-extensions
    • None

    Description

      Pulled master (at commit 2891b07), found:

      Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.726 sec <<< FAILURE! - in org.apache.batchee.camel.component.JBatchComponentTest
      checkJobWasExecutedSynchonously on checkJobWasExecutedSynchonously(org.apache.batchee.camel.component.JBatchComponentTest)(org.apache.batchee.camel.component.JBatchComponentTest) Time elapsed: 0.843 sec <<< FAILURE!
      java.lang.AssertionError: expected:<JBatch-Camel> but was:<null>
      at org.junit.Assert.fail(Assert.java:88)
      at org.junit.Assert.failNotEquals(Assert.java:834)
      at org.junit.Assert.assertEquals(Assert.java:118)
      at org.junit.Assert.assertEquals(Assert.java:144)
      at org.apache.batchee.camel.component.JBatchComponentTest.checkJobWasExecutedSynchonously(JBatchComponentTest.java:60)

      Noticed it goes away if I add the wait for job to complete, but not having to wait seems the whole point of the test.

      Attachments

        Activity

          People

            Unassigned Unassigned
            scottkurz Scott Kurz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: