Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-253

Script test fails on some machines due to hash order

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ManifoldCF 0.3
    • ManifoldCF 0.3
    • Tests
    • None

    Description

      On some machines, the following failure is seen:

      run-script-engine-tests:
      [junit] Testsuite: org.apache.manifoldcf.scriptengine.tests.ExpressionTest
      [junit] Tests run: 9, Failures: 1, Errors: 0, Time elapsed: 0.092 sec
      [junit]
      [junit] Testcase: basicConfigurationnodeOperations(org.apache.manifoldcf.scriptengine.tests.ExpressionTest): FAILED
      [junit] expected:<...e" : "value" : "attr[1"="av1", "attr2"="av2]" : << "childn1" : "...> but was:<...e" : "value" : "attr[2"="av2", "attr1"="av1]" : << "childn1" : "...>
      [junit] junit.framework.AssertionFailedError: expected:<...e" : "value" : "attr[1"="av1", "attr2"="av2]" : << "childn1" : "...> but was:<...e" : "value" : "attr[2"="av2", "attr1"="av1]" : << "childn1" : "...>
      [junit] at org.apache.manifoldcf.scriptengine.tests.ExpressionTest.basicConfigurationnodeOperations(ExpressionTest.java:514)
      [junit]
      [junit]

      BUILD FAILED

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: