SOLR-5793, SOLR-5792, SOLR-5791: disable these three tests on J9 JVM

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1572706 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2014-02-27 19:15:19 +00:00
parent 7877ebeb63
commit fcec01ccda
3 changed files with 19 additions and 0 deletions

View File

@ -30,6 +30,12 @@ import org.junit.BeforeClass;
*/ */
public class DistributedQueryElevationComponentTest extends BaseDistributedSearchTestCase { public class DistributedQueryElevationComponentTest extends BaseDistributedSearchTestCase {
@BeforeClass
public static void betterNotBeJ9() {
assumeFalse("FIXME: SOLR-5791: This test fails under J9",
System.getProperty("java.vm.info", "<?>").contains("IBM J9"));
}
public DistributedQueryElevationComponentTest() { public DistributedQueryElevationComponentTest() {
fixShardCount = true; fixShardCount = true;
shardCount = 3; shardCount = 3;

View File

@ -19,8 +19,14 @@ package org.apache.solr.handler.component;
import org.apache.solr.BaseDistributedSearchTestCase; import org.apache.solr.BaseDistributedSearchTestCase;
import org.apache.solr.common.params.TermVectorParams; import org.apache.solr.common.params.TermVectorParams;
import org.junit.BeforeClass;
public class TermVectorComponentDistributedTest extends BaseDistributedSearchTestCase { public class TermVectorComponentDistributedTest extends BaseDistributedSearchTestCase {
@BeforeClass
public static void betterNotBeJ9() {
assumeFalse("FIXME: SOLR-5792: This test fails under J9",
System.getProperty("java.vm.info", "<?>").contains("IBM J9"));
}
@Override @Override
public void doTest() throws Exception { public void doTest() throws Exception {

View File

@ -47,6 +47,13 @@ import org.junit.Test;
*/ */
public class SignatureUpdateProcessorFactoryTest extends SolrTestCaseJ4 { public class SignatureUpdateProcessorFactoryTest extends SolrTestCaseJ4 {
@BeforeClass
public static void betterNotBeJ9() {
assumeFalse("FIXME: SOLR-5793: This test fails under J9",
System.getProperty("java.vm.info", "<?>").contains("IBM J9"));
}
/** modified by tests as needed */ /** modified by tests as needed */
private String chain = "dedupe"; private String chain = "dedupe";