Script test fails on some machines due to hash order
----------------------------------------------------
Key: CONNECTORS-253
URL: https://issues.apache.org/jira/browse/CONNECTORS-253
Project: ManifoldCF
Issue Type: Bug
Components: Tests
Affects Versions: ManifoldCF 0.3
Reporter: Karl Wright
Fix For: ManifoldCF 0.3
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
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira