You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/07/27 21:55:06 UTC

[lucene-solr] branch reference_impl updated: @407 Add an assume to prevent any setup.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl by this push:
     new 40b426d  @407 Add an assume to prevent any setup.
40b426d is described below

commit 40b426d8c9b7da4d38952b999fcecd63bb7e5312
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Mon Jul 27 16:54:51 2020 -0500

    @407 Add an assume to prevent any setup.
---
 solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java b/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java
index 1ebb6d7..9babd35 100644
--- a/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java
+++ b/solr/core/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java
@@ -79,6 +79,7 @@ public class HdfsTestUtil {
   }
 
   public static void checkAssumptions() {
+    LuceneTestCase.assumeTrue("Only run hdfs tests under Nightly", TEST_NIGHTLY);
     ensureHadoopHomeNotSet();
     checkHadoopWindows();
     checkOverriddenHadoopClasses();