mirror of
https://github.com/apache/lucene.git
synced 2025-02-09 03:25:15 +00:00
SOLR-8877: Disable test on environments with whitespace
This commit is contained in:
parent
0a89ffaf96
commit
4d20feeeae
@ -47,6 +47,7 @@ import org.apache.solr.client.solrj.response.QueryResponse;
|
||||
import org.apache.solr.cloud.MiniSolrCloudCluster;
|
||||
import org.apache.solr.common.SolrInputDocument;
|
||||
import org.junit.After;
|
||||
import org.junit.BeforeClass;
|
||||
import org.junit.Ignore;
|
||||
import org.junit.Test;
|
||||
import org.slf4j.Logger;
|
||||
@ -61,6 +62,12 @@ public class TestSolrCLIRunExample extends SolrTestCaseJ4 {
|
||||
|
||||
private static final Logger log = LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
|
||||
|
||||
@BeforeClass
|
||||
public static void beforeClass() throws IOException {
|
||||
assumeFalse("FIXME: This test does not work with whitespace in CWD (https://issues.apache.org/jira/browse/SOLR-8877)",
|
||||
Paths.get(".").toAbsolutePath().toString().contains(" "));
|
||||
}
|
||||
|
||||
/**
|
||||
* Overrides the call to exec bin/solr to start Solr nodes to start them using the Solr test-framework
|
||||
* instead of the script, since the script depends on a full build.
|
||||
|
Loading…
x
Reference in New Issue
Block a user