Uploaded image for project: 'OODT'
  1. OODT
  2. OODT-747

TestXmlQueueRepository fails on Java8

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.7
    • Fix Version/s: 1.1
    • Component/s: resource manager
    • Labels:
    • Environment:

      Java 1.8.0_05

    • Skill Level:
      Don't Know (Unsure) - The default level

      Description

      The failure seems to be an ordering issue:

      --------------------------------------------------------------------------
      -----
      Test set: org.apache.oodt.cas.resource.queuerepo.TestXmlQueueRepository
      --------------------------------------------------------------------------
      -----
      Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.249 sec
      <<< FAILURE!
      testMapping(org.apache.oodt.cas.resource.queuerepo.TestXmlQueueRepository)
      Time elapsed: 0.224 sec  <<< FAILURE!
      junit.framework.AssertionFailedError: expected:<[test-queue-1, quick]>
      but was:<[quick, test-queue-1]>
             at junit.framework.Assert.fail(Assert.java:47)
             at junit.framework.Assert.failNotEquals(Assert.java:280)
             at junit.framework.Assert.assertEquals(Assert.java:64)
             at junit.framework.Assert.assertEquals(Assert.java:71)
             at
      org.apache.oodt.cas.resource.queuerepo.TestXmlQueueRepository.testMapping(
      TestXmlQueueRepository.java:64)
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kelly Sean Kelly
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: