lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Garski (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENENET-215) TestRAMDirectory (2.9)
Date Mon, 09 Nov 2009 23:45:34 GMT

     [ https://issues.apache.org/jira/browse/LUCENENET-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael Garski updated LUCENENET-215:
-------------------------------------

    Attachment: TestRAMDirectory.patch

Apply the patch for LUCENENET-214 first.

This patch fixes the tests in TestRAMDirectory that are failing.

I changed the runningMerges field in IndexWriter to be a list, just like the pendingMerges
field is.  There is a minor performance penalty with the O(n) Remove call, however it will
function as intended and I'll be profiling 2.9 with dotTrace when everything is funtional.

For the TestRAMDirectory.TestSerializable test I added a Flush call to the writer as once
the writer is closed the length of the underlying MemoryStream cannot be accessed.  

> TestRAMDirectory (2.9)
> ----------------------
>
>                 Key: LUCENENET-215
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-215
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Michael Garski
>         Attachments: TestRAMDirectory.patch
>
>
> Moving on to the tests in TestRAMDirectory.  The patch for LUCENENET-214 (FSDirectory
Default IMPL.patch) is a prerequisite for any patches for this issue as that patch alone fixes
5 tests in TestRAMDirectory.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message