From e20a54a2c29dc3be1c76784be8890a81407d6865 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Fri, 12 Jun 2015 03:29:16 +0000 Subject: [PATCH] LUCENE-6556: mute test temporarily on J9 git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1685021 13f79535-47bb-0310-9956-ffa450edef68 --- .../lucene/queryparser/xml/TestQueryTemplateManager.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java b/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java index 66d93e5e061..7d4caacb46d 100644 --- a/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java +++ b/lucene/queryparser/src/test/org/apache/lucene/queryparser/xml/TestQueryTemplateManager.java @@ -74,11 +74,8 @@ public class TestQueryTemplateManager extends LuceneTestCase { public void testFormTransforms() throws SAXException, IOException, ParserConfigurationException, TransformerException, ParserException { - // Sun 1.5 suffers from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6240963 - if (Constants.JAVA_VENDOR.startsWith("Sun") && Constants.JAVA_VERSION.startsWith("1.5")) { - String defLang = Locale.getDefault().getLanguage(); - assumeFalse("Sun JRE 1.5 suffers from http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6240963 under Turkish locale", defLang.equals("tr") || defLang.equals("az")); - } + assumeFalse("test temporarily disabled on J9, see https://issues.apache.org/jira/browse/LUCENE-6556", + Constants.JAVA_VENDOR.startsWith("IBM")); //Cache all the query templates we will be referring to. QueryTemplateManager qtm = new QueryTemplateManager(); qtm.addQueryTemplate("albumBooleanQuery", getClass().getResourceAsStream("albumBooleanQuery.xsl"));