[logback-dev] svn commit: r688 - logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net

noreply.ceki at qos.ch noreply.ceki at qos.ch
Mon Oct 16 08:31:22 CEST 2006


Author: ceki
Date: Mon Oct 16 08:31:22 2006
New Revision: 688

Modified:
   logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/LoggingEventSerializationTest.java

Log:


Modified: logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/LoggingEventSerializationTest.java
==============================================================================
--- logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/LoggingEventSerializationTest.java	(original)
+++ logback/trunk/logback-classic/src/test/java/ch/qos/logback/classic/net/LoggingEventSerializationTest.java	Mon Oct 16 08:31:22 2006
@@ -118,7 +118,8 @@
     ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
     inputStream = new ObjectInputStream(bis);
 
-    LoggingEvent remoteEvent1 = (LoggingEvent) inputStream.readObject();      
+    // skip over one object
+    inputStream.readObject();      
     LoggingEvent remoteEvent2 = (LoggingEvent) inputStream.readObject();  
     
     // We observe the second logging event. It should provide us with



More information about the logback-dev mailing list