mirror of
https://github.com/apache/lucene.git
synced 2025-02-22 01:56:16 +00:00
tests: revert property to prev state
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926086 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
386d3eabbc
commit
64b50a8a42
@ -24,9 +24,10 @@ public class DistributedSpellCheckComponentTest extends BaseDistributedSearchTes
|
|||||||
@Override
|
@Override
|
||||||
public void tearDown() throws Exception {
|
public void tearDown() throws Exception {
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
if(saveProp != null) {
|
if (saveProp == null)
|
||||||
|
System.clearProperty("solr.directoryFactory");
|
||||||
|
else
|
||||||
System.setProperty("solr.directoryFactory", saveProp);
|
System.setProperty("solr.directoryFactory", saveProp);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user