[daisy] [JIRA] Updated: (DSY-519) LocalQuery2Test fails with
LANG=de_DE (and PostgreSQL as database)
Andreas Deininger (JIRA)
issues at cocoondev.org
Wed Aug 1 12:29:50 CDT 2007
[ http://issues.cocoondev.org//browse/DSY-519?page=all ]
Andreas Deininger updated DSY-519:
----------------------------------
Attachment: DSY-519.diff
Probably the easiest way to resolve that issue is to make use of the property maven.junit.jvmargs in project.properties (see attached patch). This works fine for me. Then we don't have the hassle of changing different versions for linux/unix (not sure whether start-repository is used when running the testcases at all).
> LocalQuery2Test fails with LANG=de_DE (and PostgreSQL as database)
> ------------------------------------------------------------------
>
> Key: DSY-519
> URL: http://issues.cocoondev.org//browse/DSY-519
> Project: Daisy
> Type: Bug
> Components: Repository, Repository - querying and indexing
> Versions: 2.1
> Environment: Latest SVN
> Reporter: Andreas Deininger
> Priority: Minor
> Attachments: DSY-519.diff
>
> The repository testcase LocalQuery2Test fails if the environment variable LANG is set to de_DE.UTF-8 (and PostgreSQL is used as SQL database, however I'm not sure whether this is related to the use of PostgreSQL at all):
> With LANG set to other values, like en.US.UTF-8, the test will be passed.
> Testcase: testQuery(org.outerj.daisy.repository.test.LocalQuery2Test): FAILED
> expected:<[Publizieren]> but was:<[publish]>
> junit.framework.ComparisonFailure: expected:<[Publizieren]> but was:<[publish]>
> at org.outerj.daisy.repository.test.AbstractQuery2Test.testQuery(AbstractQuery2Test.java:222)
> at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.OtherwiseTag.doTag(OtherwiseTag.java:41)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.ChooseTag.doTag(ChooseTag.java:38)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
> at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
> at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
> at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
> at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
> at org.apache.maven.werkz.Goal.fire(Goal.java:691)
> at org.apache.maven.werkz.Goal.attain(Goal.java:623)
> at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
> at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
> at org.apache.maven.cli.App.doMain(App.java:307)
> at org.apache.maven.cli.App.main(App.java:217)
> at com.werken.forehead.Forehead.run(Forehead.java:551)
> at com.werken.forehead.Forehead.main(Forehead.java:581)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the daisy
mailing list