From ae086e8103216b510f88eb26c28a2621aab859c5 Mon Sep 17 00:00:00 2001 From: Mark Robert Miller Date: Sun, 24 Aug 2014 16:46:16 +0000 Subject: [PATCH] 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 --- .../org/apache/solr/core/OpenCloseCoreStressTest.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/solr/core/src/test/org/apache/solr/core/OpenCloseCoreStressTest.java b/solr/core/src/test/org/apache/solr/core/OpenCloseCoreStressTest.java index e9761204fde..cb6a1a49832 100644 --- a/solr/core/src/test/org/apache/solr/core/OpenCloseCoreStressTest.java +++ b/solr/core/src/test/org/apache/solr/core/OpenCloseCoreStressTest.java @@ -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); }