You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Grant Ingersoll <gs...@apache.org> on 2008/03/18 14:39:04 UTC

SearchTimeout tests was Re: Build failed in Hudson: Lucene-trunk #408

Seems like we will need to explore some timeout values.  This is  
always tricky when you get on Hudson, as Solr has similar problems  
with some of it's time based tests.


On Mar 17, 2008, at 10:55 PM, Apache Hudson Server wrote:

> See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/408/changes
>
> Changes:
>
> [doronc] fix formatting in CHANGES.txt to prevent perl errors in  
> creating changes.html.
>
> [mikemccand] LUCENE-1233: correct javadocs
>    [junit]
>    [junit] Testsuite:  
> org.apache.lucene.search.TestTimeLimitedCollector
>    [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed:  
> 13.849 sec
>    [junit]
>    [junit] ------------- Standard Error -----------------
>    [junit] Exception in thread "Thread-97"  
> junit.framework.AssertionFailedError: no hits found!
>    [junit] 	at junit.framework.Assert.fail(Assert.java:47)
>    [junit] 	at junit.framework.Assert.assertTrue(Assert.java:20)
>    [junit] 	at  
> org 
> .apache 
> .lucene 
> .search 
> .TestTimeLimitedCollector 
> .doTestTimeout(TestTimeLimitedCollector.java:152)
>    [junit] 	at  
> org.apache.lucene.search.TestTimeLimitedCollector.access 
> $100(TestTimeLimitedCollector.java:38)
>    [junit] 	at org.apache.lucene.search.TestTimeLimitedCollector 
> $1.run(TestTimeLimitedCollector.java:231)
>    [junit] Exception in thread "Thread-85"  
> junit.framework.AssertionFailedError: no hits found!
>    [junit] 	at junit.framework.Assert.fail(Assert.java:47)
>    [junit] 	at junit.framework.Assert.assertTrue(Assert.java:20)
>    [junit] 	at  
> org 
> .apache 
> .lucene 
> .search 
> .TestTimeLimitedCollector 
> .doTestTimeout(TestTimeLimitedCollector.java:152)
>    [junit] 	at  
> org.apache.lucene.search.TestTimeLimitedCollector.access 
> $100(TestTimeLimitedCollector.java:38)
>    [junit] 	at org.apache.lucene.search.TestTimeLimitedCollector 
> $1.run(TestTimeLimitedCollector.java:231)
>    [junit] ------------- ---------------- ---------------
>    [junit] Testcase:  
> testTimeoutMultiThreaded 
> (org.apache.lucene.search.TestTimeLimitedCollector):	FAILED
>    [junit] some threads failed! expected:<50> but was:<48>
>    [junit] junit.framework.AssertionFailedError: some threads  
> failed! expected:<50> but was:<48>
>    [junit] 	at  
> org 
> .apache 
> .lucene 
> .search 
> .TestTimeLimitedCollector 
> .doTestMultiThreads(TestTimeLimitedCollector.java:255)
>    [junit] 	at  
> org 
> .apache 
> .lucene 
> .search 
> .TestTimeLimitedCollector 
> .testTimeoutMultiThreaded(TestTimeLimitedCollector.java:220)
>    [junit]
>    [junit]
>    [junit] Test org.apache.lucene.search.TestTimeLimitedCollector  
> FAILED

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


Re: SearchTimeout tests was Re: Build failed in Hudson: Lucene-trunk #408

Posted by Doron Cohen <cd...@gmail.com>.
Hi Grant, I looked at this already - see patch in LUCENE-1238 - I thought
'll give a
few more hours for comments and then commit.  I believe this should solve
the
problem, more details in JIRA.

BR. Doron

On Tue, Mar 18, 2008 at 3:39 PM, Grant Ingersoll <gs...@apache.org>
wrote:

> Seems like we will need to explore some timeout values.  This is
> always tricky when you get on Hudson, as Solr has similar problems
> with some of it's time based tests.
>
>
> On Mar 17, 2008, at 10:55 PM, Apache Hudson Server wrote:
>
> > See http://hudson.zones.apache.org/hudson/job/Lucene-trunk/408/changes
> >
> > Changes:
> >
> > [doronc] fix formatting in CHANGES.txt to prevent perl errors in
> > creating changes.html.
> >
> > [mikemccand] LUCENE-1233: correct javadocs
> >    [junit]
> >    [junit] Testsuite:
> > org.apache.lucene.search.TestTimeLimitedCollector
> >    [junit] Tests run: 5, Failures: 1, Errors: 0, Time elapsed:
> > 13.849 sec
> >    [junit]
> >    [junit] ------------- Standard Error -----------------
> >    [junit] Exception in thread "Thread-97"
> > junit.framework.AssertionFailedError: no hits found!
> >    [junit]    at junit.framework.Assert.fail(Assert.java:47)
> >    [junit]    at junit.framework.Assert.assertTrue(Assert.java:20)
> >    [junit]    at
> > org
> > .apache
> > .lucene
> > .search
> > .TestTimeLimitedCollector
> > .doTestTimeout(TestTimeLimitedCollector.java:152)
> >    [junit]    at
> > org.apache.lucene.search.TestTimeLimitedCollector.access
> > $100(TestTimeLimitedCollector.java:38)
> >    [junit]    at org.apache.lucene.search.TestTimeLimitedCollector
> > $1.run(TestTimeLimitedCollector.java:231)
> >    [junit] Exception in thread "Thread-85"
> > junit.framework.AssertionFailedError: no hits found!
> >    [junit]    at junit.framework.Assert.fail(Assert.java:47)
> >    [junit]    at junit.framework.Assert.assertTrue(Assert.java:20)
> >    [junit]    at
> > org
> > .apache
> > .lucene
> > .search
> > .TestTimeLimitedCollector
> > .doTestTimeout(TestTimeLimitedCollector.java:152)
> >    [junit]    at
> > org.apache.lucene.search.TestTimeLimitedCollector.access
> > $100(TestTimeLimitedCollector.java:38)
> >    [junit]    at org.apache.lucene.search.TestTimeLimitedCollector
> > $1.run(TestTimeLimitedCollector.java:231)
> >    [junit] ------------- ---------------- ---------------
> >    [junit] Testcase:
> > testTimeoutMultiThreaded
> > (org.apache.lucene.search.TestTimeLimitedCollector):  FAILED
> >    [junit] some threads failed! expected:<50> but was:<48>
> >    [junit] junit.framework.AssertionFailedError: some threads
> > failed! expected:<50> but was:<48>
> >    [junit]    at
> > org
> > .apache
> > .lucene
> > .search
> > .TestTimeLimitedCollector
> > .doTestMultiThreads(TestTimeLimitedCollector.java:255)
> >    [junit]    at
> > org
> > .apache
> > .lucene
> > .search
> > .TestTimeLimitedCollector
> > .testTimeoutMultiThreaded(TestTimeLimitedCollector.java:220)
> >    [junit]
> >    [junit]
> >    [junit] Test org.apache.lucene.search.TestTimeLimitedCollector
> > FAILED
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org
>
>