Skip to content

Commit

Permalink
OAK-6847: oak-solr-core test failures with java 9
Browse files Browse the repository at this point in the history
Tests disabled under Java 9 because they were already disabled for Java 8 as well.

git-svn-id: https://svn.apache.org/repos/asf/jackrabbit/oak/trunk@1812660 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
reschke committed Oct 19, 2017
1 parent 47cd483 commit 9988c5d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ public void testNativeSolrLocalParams() throws Exception {
public void testNativeMLTQuery() throws Exception {
// TODO: OAK-1819
assumeTrue(!System.getProperty("java.version").startsWith("1.8"));
assumeTrue(!System.getProperty("java.version").startsWith("9"));

String nativeQueryString = "select [jcr:path] from [nt:base] where native('solr', 'mlt?q=text:World&mlt.fl=text&mlt.mindf=0&mlt.mintf=0')";

Expand All @@ -266,6 +267,7 @@ public void testNativeMLTQuery() throws Exception {
public void testNativeMLTQueryWithStream() throws Exception {
// TODO: OAK-1819
assumeTrue(!System.getProperty("java.version").startsWith("1.8"));
assumeTrue(!System.getProperty("java.version").startsWith("9"));

String nativeQueryString = "select [jcr:path] from [nt:base] where native('solr', 'mlt?stream.body=world is nice today&mlt.fl=text&mlt.mindf=0&mlt.mintf=0')";

Expand Down

0 comments on commit 9988c5d

Please sign in to comment.