mirror of https://github.com/apache/lucene.git
fix restoring prop in test
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/branches/newtrunk@926083 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c5a9eded5c
commit
386d3eabbc
|
@ -24,7 +24,9 @@ public class DistributedSpellCheckComponentTest extends BaseDistributedSearchTes
|
||||||
@Override
|
@Override
|
||||||
public void tearDown() throws Exception {
|
public void tearDown() throws Exception {
|
||||||
super.tearDown();
|
super.tearDown();
|
||||||
System.setProperty("solr.directoryFactory", saveProp);
|
if(saveProp != null) {
|
||||||
|
System.setProperty("solr.directoryFactory", saveProp);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue