Bug 49003 - SocketServerTestCase.test8 fails on Apache Harmony 6
SocketServerTestCase.test8 fails on Apache Harmony 6
Status: NEW
Product: Log4j
Classification: Unclassified
Component: Other
1.2
PC Linux
: P2 normal
: ---
Assigned To: log4j-dev
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2010-03-27 05:24 UTC by Curt Arnold
Modified: 2010-03-27 05:24 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Curt Arnold 2010-03-27 05:24:34 UTC
This test sends an event to a SocketNode running in a different process.  The test expects that the hostID MDC value set in the receiver is integrated with the MDC values sent over the wire.  This magic apparently happens in Sun JVM's (though not obvious where it happens) but not on Apache Harmony.  The temporary fix is to explicitly set the hostID MDC value if a Harmony JVM is detected.

Needs further investigation to determine if this is an Apache Harmony bug, unreasonable test expectation or an log4j bug.