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

Shawn Heisey commented on SOLR-2739:
------------------------------------

I continue to get a failure.  It looks like it's checking to make sure numFound 
is 0, but it's seeing 1, which is what it did before.  The exception does look 
different, and now it's caused by another exception.  Failure text from the new 
branch_3x:

{noformat}
    [junit] ------------- Standard Error -----------------
    [junit] NOTE: reproduce with: ant test 
-Dtestcase=TestSqlEntityProcessorDelta -Dtestmethod=testNonWritablePersistFile 
-Dtests.seed=-5706afed1ddb3d06:65ec54c2cd2efa63:3ba1f077e387d65
    [junit] NOTE: test params are: locale=en_IE, timezone=Europe/Berlin
    [junit] NOTE: all tests run in this JVM:
    [junit] [TestCachedSqlEntityProcessor, TestClobTransformer, 
TestContentStreamDataSource, TestDataConfig, TestDateFormatTransformer, 
TestDocBuilder, TestDocBuilder2, TestDocBuilderThreaded, 
TestEntityProcessorBase, TestErrorHandling, TestEvaluatorBag, TestFieldReader, 
TestFileListEntityProcessor, TestJdbcDataSource, TestLineEntityProcessor, 
TestNumberFormatTransformer, TestPlainTextEntityProcessor, 
TestRegexTransformer, TestScriptTransformer, TestSqlEntityProcessor, 
TestSqlEntityProcessor2, TestSqlEntityProcessorDelta]
    [junit] NOTE: Linux 2.6.18-238.12.1.el5.centos.plusxen amd64/Sun 
Microsystems Inc. 1.6.0_26 
(64-bit)/cpus=3,threads=4,free=193825632,total=247136256
    [junit] ------------- ---------------- ---------------
    [junit] Testcase: 
testNonWritablePersistFile(org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta):
       Caused an ERROR
    [junit] Exception during query
    [junit] java.lang.RuntimeException: Exception during query
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:385)
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:352)
    [junit]     at 
org.apache.solr.handler.dataimport.TestSqlEntityProcessorDelta.testNonWritablePersistFile(TestSqlEntityProcessorDelta.java:124)
    [junit]     at 
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:147)
    [junit]     at 
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)
    [junit] Caused by: java.lang.RuntimeException: REQUEST FAILED: 
xpath=//*[@numFound='0']
    [junit]     xml response was: <?xml version="1.0" encoding="UTF-8"?>
    [junit] <response>
    [junit] <lst name="responseHeader"><int name="status">0</int><int 
name="QTime">0</int><lst name="params"><str name="start">0</str><str 
name="q">id:1</str><str name="qt">standard</str><str name="rows">20</str><str 
name="version">2.2</str></lst></lst><result name="response" numFound="1" 
start="0"><doc><arr name="desc"><str>hello</str></arr><str 
name="id">1</str><date 
name="timestamp">2011-09-02T01:45:21.014Z</date></doc></result>
    [junit] </response>
    [junit]
    [junit]     request was:start=0&q=id:1&qt=standard&rows=20&version=2.2
    [junit]     at 
org.apache.solr.SolrTestCaseJ4.assertQ(SolrTestCaseJ4.java:378)
{noformat}

> TestSqlEntityProcessorDelta.testNonWritablePersistFile failures on some 
> systems
> -------------------------------------------------------------------------------
>
>                 Key: SOLR-2739
>                 URL: https://issues.apache.org/jira/browse/SOLR-2739
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.3
>            Reporter: Shawn Heisey
>            Assignee: Hoss Man
>             Fix For: 3.4, 4.0
>
>
> Shawn Heisey noted on the mailing list that he was getting consistent 
> failures from TestSqlEntityProcessorDelta.testNonWritablePersistFile on his 
> machine.
> I can't reproduce his exact failures, but the test is hinky enough that i 
> want to try and clean it up.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to