lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From laimis <>
Subject [GitHub] lucenenet pull request: Stallcontrol fix
Date Fri, 08 May 2015 18:46:36 GMT
GitHub user laimis opened a pull request:

    Stallcontrol fix

    TestDocumentsWriterStallControl fails in Release mode but not in Debug builds. Looks like
Lucene is performing logic when calling assert, which translated to Debug.Assert in Lucene.Net.
Debug.Assert is removed at the compile time if compiled in release mode.
    Took out the logic from the Debug.Assert.
    Here is the failing test that this fixes:
    There are more places in the code base that suffer from this, I believe. Looking for them.

You can merge this pull request into a Git repository by running:

    $ git pull stallcontrol_fix

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #142
commit e7381c089e15bf363bcc2e962aa15604c139726e
Author: Laimonas Simutis <>
Date:   2015-05-08T18:42:05Z

    don't perform logic in Debug.Assert

commit 4eab349bbbe456873d79b6c0e3442be51bdca3c6
Author: Laimonas Simutis <>
Date:   2015-05-08T18:43:25Z

    fix spelling mistake


If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message