Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-98

Resource Manager TestXmlQueueRepository test fails on some computers because <hashmap>.keySet() order is undefined

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.1-incubating
    • 0.2
    • resource manager
    • None

    Description

      In TestXmlQueueRepository's testMapping(), the following line:

      assertEquals(this.queueManager.getQueues("localhost"), Arrays.asList("quick", "high", "long"));
      

      should be:

      assertTrue(this.queueManager.getQueues("localhost").containsAll(Arrays.asList("quick", "high", "long")));
      

      Attachments

        1. OODT-98.2010-12-20.patch.txt
          0.9 kB
          Brian Foster

        Activity

          People

            bfoster Brian Foster
            bfoster Brian Foster
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: