[
https://issues.apache.org/jira/browse/OODT-877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lewis John McGibbney updated OODT-877:
--------------------------------------
Attachment: OODT-877.patch
Patch for trunk. I can only assume that Windows 2008 Server (maybe other
Windows distros as well) opens files differently than *nix systems.
The tests now pass in trunk on target environment.
> Fix 2 failures in o.a.o.commons.util.XMLTest on Windows 2008 Server
> -------------------------------------------------------------------
>
> Key: OODT-877
> URL: https://issues.apache.org/jira/browse/OODT-877
> Project: OODT
> Issue Type: Sub-task
> Components: commons
> Affects Versions: 0.10
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Fix For: 0.11
>
> Attachments: OODT-877.patch
>
>
> Right now when running on Windows 2008 Server we get 2 errors within XMLTest
> as follows
> {code}
>
> -------------------------------------------------------------------------------
> Test set: org.apache.oodt.commons.util.XMLTest
>
> -------------------------------------------------------------------------------
> Tests run: 9, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.35 sec
> <<< FAILURE!
> testDOM(org.apache.oodt.commons.util.XMLTest) Time elapsed: 0.1 sec <<<
> FAILURE!
> junit.framework.AssertionFailedError: Stringified DOM document CRC
> mismatch, got value = 3026567548
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.apache.oodt.commons.util.XMLTest.testDOM(XMLTest.java:62)
>
> testDump(org.apache.oodt.commons.util.XMLTest) Time elapsed: 0.01 sec
> <<< FAILURE!
> junit.framework.AssertionFailedError: Dumped DOM tree CRC mismatch; got
> 2172516213
> at junit.framework.Assert.fail(Assert.java:47)
> at junit.framework.Assert.assertTrue(Assert.java:20)
> at org.apache.oodt.commons.util.XMLTest.testDump(XMLTest.java:88)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)