Fix UpdateLogTest failure

This commit is contained in:
Ishan Chattopadhyaya 2017-03-01 04:18:22 +05:30
parent 34bb7f31e5
commit 0b7b1443c2
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ import org.apache.solr.common.SolrInputDocument;
import org.apache.solr.handler.component.RealTimeGetComponent;
import org.apache.solr.request.SolrQueryRequest;
import org.apache.solr.update.processor.DistributedUpdateProcessor;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
@ -58,8 +58,8 @@ public class UpdateLogTest extends SolrTestCaseJ4 {
}
}
@After
public void after() {
@AfterClass
public static void afterClass() {
System.clearProperty("solr.tests.intClassName");
System.clearProperty("solr.tests.longClassName");
System.clearProperty("solr.tests.floatClassName");