lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erick Erickson (JIRA)" <>
Subject [jira] [Commented] (SOLR-4401) Move the stress test in SOLR-4196 into a junit test
Date Thu, 28 Feb 2013 00:09:15 GMT


Erick Erickson commented on SOLR-4401:

I'm going to try to put this into a junit test over the weekend. It can run really long or
really short. I'm thinking of providing three methods, one that runs all the time and takes
30 seconds? a minute? Label it as "slow" either way.

A nightly that runs for 10 minutes

A weekly that runs for an hour

The background here is that I see issues after 1-2 hours running on my machine, occasionally
as little as 30 minutes. I suppose if it runs more often it'd have a better chance of hitting
at shorter intervals. I'm open to suggestions, so let me know.... I really don't have a sense
of how onerous a really long-running test would be....

When I mentioned "prior art" it was mostly a shorthand to myself that there seemed to be code
I could use as a model in TestReplicationHandler in terms of starting up servers and all that
rot. But I'll look at JettySolrRunner as you indicated, thanks for the pointer.
> Move the stress test in SOLR-4196 into a junit test
> ---------------------------------------------------
>                 Key: SOLR-4401
>                 URL:
>             Project: Solr
>          Issue Type: Test
>    Affects Versions: 4.2, 5.0
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>             Fix For: 4.2, 5.0
>         Attachments:
> As part of SOLR-4196, I created a stress test proces for rapidly opening and closing
cores. It'd probably be useful to make this into a junit test that ran nightly (it needs some
time in order to show anything, as in minutes). Typical failures are 20 minutes into the run,
but occasionally they're faster.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

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

View raw message