lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomás Fernández Löbbe (JIRA) <j...@apache.org>
Subject [jira] [Commented] (SOLR-11426) TestLazyCores fails too often
Date Wed, 20 Dec 2017 23:57:02 GMT

    [ https://issues.apache.org/jira/browse/SOLR-11426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299281#comment-16299281
] 

Tomás Fernández Löbbe commented on SOLR-11426:
----------------------------------------------

I believe the problem here is that {{testNoCommit()}} expects {{DirectUpdateHandler2.commitOnClose}}
to be {{true}} (which it is by default), but some other test may be changing this property
and not setting it back, and since it's static. That would explain why you can't reproduce
the failure by beasting (just) it.
The test fails 100% of the times if you add 
{code:java}
DirectUpdateHandler2.commitOnClose = false;
{code}
at the beginning. I'll add
{code:java}
DirectUpdateHandler2.commitOnClose = true;
{code}
at the beginning of the test and see if it fixes it.

> TestLazyCores fails too often
> -----------------------------
>
>                 Key: SOLR-11426
>                 URL: https://issues.apache.org/jira/browse/SOLR-11426
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>         Attachments: SOLR-11426-take-2-debug.patch
>
>
> Rather then re-opening SOLR-10101 I thought I'd start a new issue. I may have to put
some code up on Jenkins to test, last time I tried to get this to fail locally I couldn't



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message