make sure we clear numShards sys prop

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1296852 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-03-04 18:39:27 +00:00
parent 5007616835
commit 54b79934ea
2 changed files with 2 additions and 0 deletions

View File

@ -65,6 +65,7 @@ public class ChaosMonkeyNothingIsSafeTest extends FullSolrCloudTest {
@Override
@After
public void tearDown() throws Exception {
System.clearProperty("numShards");
super.tearDown();
resetExceptionIgnores();
}

View File

@ -61,6 +61,7 @@ public class ChaosMonkeySafeLeaderTest extends FullSolrCloudTest {
@Override
@After
public void tearDown() throws Exception {
System.clearProperty("numShards");
super.tearDown();
resetExceptionIgnores();
}