mirror of https://github.com/apache/lucene.git
SOLR-7847: disable the testTechproductsExample test that is failing on Jenkins
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1694172 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f211284f0b
commit
01185c98db
|
@ -232,6 +232,9 @@ public class VersionInfo {
|
|||
if (versionField.indexed()) {
|
||||
Terms versionTerms = searcher.getLeafReader().terms(versionFieldName);
|
||||
if (versionTerms != null) {
|
||||
|
||||
log.info("\n\n versionTerms is a "+versionTerms.getClass().getName()+", versionTerms.size() = "+versionTerms.size()+" \n\n");
|
||||
|
||||
maxVersionInIndex = NumericUtils.getMaxLong(versionTerms);
|
||||
log.info("Found MAX value {} from Terms for {} in index", maxVersionInIndex, versionFieldName);
|
||||
} else {
|
||||
|
|
|
@ -44,6 +44,7 @@ import org.apache.solr.client.solrj.response.QueryResponse;
|
|||
import org.apache.solr.cloud.MiniSolrCloudCluster;
|
||||
import org.apache.solr.common.SolrInputDocument;
|
||||
import org.junit.After;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
@ -300,6 +301,10 @@ public class TestSolrCLIRunExample extends SolrTestCaseJ4 {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Fails intermittently on jenkins! Need to investigate this more.
|
||||
*/
|
||||
@Ignore
|
||||
@Test
|
||||
public void testTechproductsExample() throws Exception {
|
||||
testExample("techproducts");
|
||||
|
|
Loading…
Reference in New Issue