lucenenet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aro...@apache.org
Subject svn commit: r567887 - /incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs
Date Tue, 21 Aug 2007 00:50:53 GMT
Author: aroush
Date: Mon Aug 20 17:50:52 2007
New Revision: 567887

URL: http://svn.apache.org/viewvc?rev=567887&view=rev
Log:
Fix: LUCENENET-65 "Test case "TestSerializable" uses the stream after closing"

Modified:
    incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs

Modified: incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs
URL: http://svn.apache.org/viewvc/incubator/lucene.net/trunk/C%23/src/Test/Index/Store/TestRAMDirectory.cs?rev=567887&r1=567886&r2=567887&view=diff
==============================================================================
--- incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs (original)
+++ incubator/lucene.net/trunk/C#/src/Test/Index/Store/TestRAMDirectory.cs Mon Aug 20 17:50:52
2007
@@ -248,7 +248,7 @@
             long headerSize = bos.Length;
             System.Runtime.Serialization.Formatters.Binary.BinaryFormatter formatter = new
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter();
             formatter.Serialize(out_Renamed.BaseStream, dir);
-            out_Renamed.Close();
+            // out_Renamed.Close();
             Assert.IsTrue(headerSize < bos.Length, "contains more then just header");
         }
 		



Mime
View raw message