You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/12/06 22:06:49 UTC
svn commit: r1418082 -
/lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/BaseDistributedSearchTestCase.java
Author: rmuir
Date: Thu Dec 6 21:06:49 2012
New Revision: 1418082
URL: http://svn.apache.org/viewvc?rev=1418082&view=rev
Log:
SOLR-4147: 64-bit IBM jre miscompiles code for these tests, they pass with -Xint
Modified:
lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/BaseDistributedSearchTestCase.java
Modified: lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/BaseDistributedSearchTestCase.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/BaseDistributedSearchTestCase.java?rev=1418082&r1=1418081&r2=1418082&view=diff
==============================================================================
--- lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/BaseDistributedSearchTestCase.java (original)
+++ lucene/dev/trunk/solr/test-framework/src/java/org/apache/solr/BaseDistributedSearchTestCase.java Thu Dec 6 21:06:49 2012
@@ -33,6 +33,7 @@ import java.util.Set;
import junit.framework.Assert;
import org.apache.lucene.search.FieldCache;
+import org.apache.lucene.util.Constants;
import org.apache.solr.client.solrj.SolrServer;
import org.apache.solr.client.solrj.SolrServerException;
import org.apache.solr.client.solrj.embedded.JettySolrRunner;
@@ -64,6 +65,7 @@ public abstract class BaseDistributedSea
@BeforeClass
public static void initialize() {
+ assumeFalse("SOLR-4147: ibm 64bit has jvm bugs!", Constants.JRE_IS_64BIT && Constants.JAVA_VENDOR.startsWith("IBM"));
r = new Random(random().nextLong());
}