Gump failure of tests was due to the new serialization checking tests. Checks for identical binary streams with some explicit bytes to skip that have been observed to change values over time or between platforms. The exception test is the most sensitive and I have not previously seen a difference at
this byte location. As the layout of the serialization is mapped out, the exceptions based on observation can be replaced with exceptions based on knowledge.



On May 10, 2005, at 4:58 AM, [EMAIL PROTECTED] wrote:


build:
[javac] Compiling 107 source files to /home/gump/workspaces2/ public/workspace/logging-log4j/tests/classes
[javac] Note: /home/gump/workspaces2/public/workspace/logging- log4j/tests/src/java/org/apache/log4j/LoggerTest.java uses or overrides a deprecated API.
[javac] Note: Recompile with -deprecation for details.


cleanOutputDir:

Core:
[junit] Running org.apache.log4j.CoreTestSuite
[junit] Testsuite: org.apache.log4j.CoreTestSuite
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.121 sec
[junit] Tests run: 2, Failures: 1, Errors: 0, Time elapsed: 0.121 sec
[junit] ------------- Standard Output ---------------
[junit] *** configurationOptionStr=null
[junit] ** End of LogManager static initializer
[junit] ------------- ---------------- ---------------


[junit] Testcase: testSerializationSimple took 0.096 sec
[junit] Testcase: testSerializationWithException took 0.018 sec
[junit] FAILED
[junit] Difference at offset 1089 expected:<53> but was:<54>
[junit] junit.framework.AssertionFailedError: Difference at offset 1089 expected:<53> but was:<54>
[junit] at org.apache.log4j.spi.LoggingEventTest.assertStreamEquals (LoggingEventTest.java:204)
[junit] at org.apache.log4j.spi.LoggingEventTest.assertSerializationEquals (LoggingEventTest.java:176)
[junit] at org.apache.log4j.spi.LoggingEventTest.testSerializationWithException (LoggingEventTest.java:72)





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to