You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2015/09/12 19:44:45 UTC

[jira] [Resolved] (SOLR-8044) VelocityResponseWriterTest jenkins failure

     [ https://issues.apache.org/jira/browse/SOLR-8044?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Erik Hatcher resolved SOLR-8044.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 5.3.1

apologies - the test was broken only on 5_3 branch (the fix itself was fine).  alas, i was trying to be too clever by using a writer that allowed param-based templates to avoid having a separate test template file, but the custom test writer was only a trunk/5.4 feature.  my bad.

> VelocityResponseWriterTest jenkins failure
> ------------------------------------------
>
>                 Key: SOLR-8044
>                 URL: https://issues.apache.org/jira/browse/SOLR-8044
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: Trunk, 5.4, 5.3.1
>            Reporter: Noble Paul
>            Assignee: Erik Hatcher
>             Fix For: 5.3.1
>
>
> {code}
> Build: http://jenkins.thetaphi.de/job/Lucene-Solr-5.3-Linux/144/
> Java: 64bit/jdk1.8.0_60 -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC
> 1 tests failed.
> FAILED:  org.apache.solr.velocity.VelocityResponseWriterTest.testLocaleFeature
> Error Message:
> expected:<[Colour]> but was:<[<?xml version="1.0" encoding="UTF-8"?> <response> <lst name="responseHeader"><int name="status">0</int><int name="QTime">0</int><lst name="params"><str name="q">*:*</str><str name="v.template">t</str><str name="v.template.t">$resource.get("color","resources","en_UK")</str><str name="wt">velocityWithCustomTools</str></lst></lst><result name="response" numFound="0" start="0"></result> </response> ]>
> Stack Trace:
> org.junit.ComparisonFailure: expected:<[Colour]> but was:<[<?xml version="1.0" encoding="UTF-8"?>
> <response>
> <lst name="responseHeader"><int name="status">0</int><int name="QTime">0</int><lst name="params"><str name="q">*:*</str><str name="v.template">t</str><str name="v.template.t">$resource.get("color","resources","en_UK")</str><str name="wt">velocityWithCustomTools</str></lst></lst><result name="response" numFound="0" start="0"></result>
> </response>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org