Bug 49003 - SocketServerTestCase.test8 fails on Apache Harmony 6
Summary: SocketServerTestCase.test8 fails on Apache Harmony 6
Status: NEW
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.2
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
URL:
Keywords:
Depends on:
Blocks:
 
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.