lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Doug Sale (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENENET-131) bugs in TestIndexWriter test cases
Date Thu, 17 Jul 2008 14:03:31 GMT

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

Doug Sale resolved LUCENENET-131.
---------------------------------

    Resolution: Fixed

Replaced faulty call-stack introspection via System.Exception.StackTrace property with call-stack
introspection via System.Diagnostics.StackTrace and System.Diagnostics.StackFrame.

Fixes the following test cases:

Lucene.Net.Index.TestIndexWriter.TestDocumentsWriterAbort
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringAbort
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringAbortOnlyOnce
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringAbortWithThreads
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringAbortWithThreadsOnlyOnce
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringCloseDocStore
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringCloseDocStoreOnlyOnce
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringCloseDocStoreWithThreads
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringCloseDocStoreWithThreadsOnlyOnce
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringWriteSegment
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringWriteSegmentOnlyOnce
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringWriteSegmentWithThreads
Lucene.Net.Index.TestIndexWriter.TestIOExceptionDuringWriteSegmentWithThreadsOnlyOnce

> bugs in TestIndexWriter test cases
> ----------------------------------
>
>                 Key: LUCENENET-131
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-131
>             Project: Lucene.Net
>          Issue Type: Bug
>            Reporter: Doug Sale
>            Priority: Minor
>         Attachments: TestIndexWriter.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> Certain test cases introspect the call stack to determine when to simulate an I/O exception.
 This code was not converted properly from the Java version.
> Specifically, it attemtped to use the StackTrace property of System.Exception, rather
than the System.Diagnostics facilities.

-- 
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