SOLR-6417: OpenCloseCoreStressTest should be much faster on non nightly runs.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1620152 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2014-08-24 16:46:16 +00:00
parent f695231df7
commit ae086e8103
1 changed files with 7 additions and 2 deletions

View File

@ -104,13 +104,18 @@ public class OpenCloseCoreStressTest extends SolrTestCaseJ4 {
}
@Test
@Slow
public void test5Seconds() throws Exception {
doStress(5, random().nextBoolean());
}
@Test
@Nightly
public void test15SecondsOld() throws Exception {
doStress(15, true);
}
@Test
@Slow
@Nightly
public void test15SecondsNew() throws Exception {
doStress(15, false);
}