You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ab...@apache.org on 2018/04/23 17:35:38 UTC

[34/40] lucene-solr:jira/solr-11833: SOLR-12250: Add missing assumeWorkingMockito call

SOLR-12250: Add missing assumeWorkingMockito call


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/4136fe0e
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/4136fe0e
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/4136fe0e

Branch: refs/heads/jira/solr-11833
Commit: 4136fe0e65ac4394033d24840ac364943c7d89a2
Parents: 84583d2
Author: Simon Willnauer <si...@apache.org>
Authored: Mon Apr 23 10:13:53 2018 +0200
Committer: Simon Willnauer <si...@apache.org>
Committed: Mon Apr 23 10:13:53 2018 +0200

----------------------------------------------------------------------
 solr/core/src/test/org/apache/solr/update/TransactionLogTest.java | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/4136fe0e/solr/core/src/test/org/apache/solr/update/TransactionLogTest.java
----------------------------------------------------------------------
diff --git a/solr/core/src/test/org/apache/solr/update/TransactionLogTest.java b/solr/core/src/test/org/apache/solr/update/TransactionLogTest.java
index 944b2ee..27383e7 100644
--- a/solr/core/src/test/org/apache/solr/update/TransactionLogTest.java
+++ b/solr/core/src/test/org/apache/solr/update/TransactionLogTest.java
@@ -23,6 +23,7 @@ import java.util.ArrayList;
 import java.util.Locale;
 
 import org.apache.lucene.util.LuceneTestCase;
+import org.apache.solr.SolrTestCaseJ4;
 import org.apache.solr.common.SolrInputDocument;
 import org.junit.Test;
 
@@ -32,6 +33,7 @@ public class TransactionLogTest extends LuceneTestCase {
 
   @Test
   public void testBigLastAddSize() throws IOException {
+    SolrTestCaseJ4.assumeWorkingMockito();
     String tlogFileName = String.format(Locale.ROOT, UpdateLog.LOG_FILENAME_PATTERN, UpdateLog.TLOG_NAME, 0);
     try (TransactionLog transactionLog = new TransactionLog(Files.createTempFile(tlogFileName, "").toFile(), new ArrayList<>())) {
       transactionLog.lastAddSize = 2000000000;