You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2014/10/10 11:59:33 UTC
[jira] [Closed] (SLING-3818) RunModeImplTest.testParseRunModes
fails under Java 8 : Parsed runModes match for ' foo , bar '
[ https://issues.apache.org/jira/browse/SLING-3818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-3818.
-----------------------------------
> RunModeImplTest.testParseRunModes fails under Java 8 : Parsed runModes match for ' foo , bar '
> ------------------------------------------------------------------------------------------------
>
> Key: SLING-3818
> URL: https://issues.apache.org/jira/browse/SLING-3818
> Project: Sling
> Issue Type: Bug
> Components: Testing
> Affects Versions: Settings 1.3.2
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Fix For: Settings 1.3.4
>
>
> *Error Message*
> {noformat}Parsed runModes match for ' foo , bar
> ': arrays first differed at element [0]; expected:<[foo]> but was:<[bar]>{noformat}
> *Stacktrace*
> {noformat}org.junit.internal.ArrayComparisonFailure: Parsed runModes match for ' foo , bar
> ': arrays first differed at element [0]; expected:<[foo]> but was:<[bar]>
> at org.junit.internal.ComparisonCriteria.arrayEquals(ComparisonCriteria.java:50)
> at org.junit.Assert.internalArrayEquals(Assert.java:473)
> at org.junit.Assert.assertArrayEquals(Assert.java:265)
> at org.apache.sling.settings.impl.RunModeImplTest.assertParse(RunModeImplTest.java:78)
> at org.apache.sling.settings.impl.RunModeImplTest.testParseRunModes(RunModeImplTest.java:85){noformat}
> *Standard Error*
> {noformat}186 [main] INFO org.apache.sling.settings.impl.SlingSettingsServiceImpl - No run modes active
> 188 [main] INFO org.apache.sling.settings.impl.SlingSettingsServiceImpl - No run modes active
> 197 [main] INFO org.apache.sling.settings.impl.SlingSettingsServiceImpl - Active run modes: [foo]
> 198 [main] INFO org.apache.sling.settings.impl.SlingSettingsServiceImpl - Active run modes: [bar, foo]{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)