mirror of
https://github.com/apache/lucene.git
synced 2025-02-21 01:18:45 +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
|
||||
public void tearDown() throws Exception {
|
||||
super.tearDown();
|
||||
if(saveProp != null) {
|
||||
if (saveProp == null)
|
||||
System.clearProperty("solr.directoryFactory");
|
||||
else
|
||||
System.setProperty("solr.directoryFactory", saveProp);
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user