lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <>
Subject [jira] [Commented] (SOLR-6290) CollectionsAPIAsyncDistributedZkTest failure
Date Mon, 28 Jul 2014 19:26:38 GMT


Mark Miller commented on SOLR-6290:

bq. we've decided to have a philosophical discussion here.

This is not philosophical at all :) It's purely technical.

You raised timeouts of 3 and 10 seconds to 5 minutes and declared essentially that we can't
make these timeouts high enough. I'm saying we sure as heck can!

bq. I totally get that

If you totally got that, you wouldn't just assume 5 minutes is a good number and say that
the timouts should just be super high.

The chances that 2 minutes or 1 minutes or 30 seconds is better seems pretty likely. Why not
make it an hour with your philosophy?

If you are debugging, there is a big difference between 1 minutes and 2 minutes and 5 minutes.

So you see, I'm focusing on the very specific and technical timeout raise that you made. Your
philosophy of "the timeouts can't be high enough" also concerns me, but what has my focus
is that this issue indicates tests usually pass with timeouts of 3 and 10 seconds and you
are raising them to 5 minutes and that seems overkill and comes with negative consequences
that are pretty likely not necessary.

It's pretty easy to spot these kinds of failures. It's way better to do a more sensible timeout,
and if there is another fail, double it again or something. 

> CollectionsAPIAsyncDistributedZkTest failure
> --------------------------------------------
>                 Key: SOLR-6290
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud, Tests
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 5.0, 4.10
>         Attachments: SOLR-6290.patch
> Found this failure on my local jenkins instance:
> {code}
> Error Message
> CreateCollection task did not complete! expected:<[completed]> but was:<[running]>
> Stacktrace
> org.junit.ComparisonFailure: CreateCollection task did not complete! expected:<[completed]>
but was:<[running]>
> 	at __randomizedtesting.SeedInfo.seed([D4EC4F9D698903B5:550AC1851ED66389]:0)
> 	at org.junit.Assert.assertEquals(
> 	at
> 	at
> 	at org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> {code}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message