mirror of https://github.com/apache/lucene.git
SOLR-3260: Add one more exception ignore for JVMs without Rhino
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1303818 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
33645d3764
commit
fca2253a55
|
@ -85,7 +85,9 @@ public class TestScriptTransformer extends AbstractDataImportHandlerTestCase {
|
|||
sep.init(context);
|
||||
sep.applyTransformer(map);
|
||||
assertEquals(map.get("name"), "Hello Scott");
|
||||
} catch (DataImportHandlerException e) {
|
||||
} catch (DataImportHandlerException e) {
|
||||
assumeFalse("This JVM does not have Rhino installed. Test Skipped.", e
|
||||
.getMessage().startsWith("Cannot load Script Engine for language"));
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue