/**
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* Holds tests cases to verify external APIs are accessible
* while not being in org.apache.lucene.index package.
*/
volatile boolean mergeCalled;
volatile boolean mergeThreadCreated;
volatile boolean excCalled;
mergeThreadCreated = true;
}
}
protected MergeThread getMergeThread(IndexWriter writer, MergePolicy.OneMerge merge) throws IOException {
return thread;
}
excCalled = true;
}
mergeCalled = true;
}
}
throw new IOException("now failing during merge");
}
}
}
for(int i=0;i<20;i++)
}
if (VERBOSE) {
}
}
}
}
// we don't really need to execute anything, just to make sure the custom MS
// compiles. But ensure that it can be used as well, e.g., no other hidden
// dependencies or something. Therefore, don't use any random API !
}
}