Robert Munteanu created SLING-3818:
--------------------------------------
Summary: 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
Affects Versions: Settings 1.3.2
Reporter: 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.2#6252)