lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sim...@apache.org
Subject lucene-solr:master: SOLR-12250: Add missing assumeWorkingMockito call
Date Mon, 23 Apr 2018 08:14:02 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/master 84583d256 -> 4136fe0e6


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/master
Commit: 4136fe0e65ac4394033d24840ac364943c7d89a2
Parents: 84583d2
Author: Simon Willnauer <simonw@apache.org>
Authored: Mon Apr 23 10:13:53 2018 +0200
Committer: Simon Willnauer <simonw@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;


Mime
View raw message