[jboss-jira] [JBoss JIRA] (WFLY-6695) JspTagTestCase fails on Windows
Tomaz Cerar (JIRA)
issues at jboss.org
Thu Jun 9 11:27:00 EDT 2016
[ https://issues.jboss.org/browse/WFLY-6695?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13250407#comment-13250407 ]
Tomaz Cerar commented on WFLY-6695:
-----------------------------------
that is weird, it works fine for me on exact same environment.
+ we do CI testing on windows server 2012r2 and it passes just fine.
see https://ci.wildfly.org/project.html?projectId=WF&testNameId=3729947640288605098&tab=testDetails for example (login as guest)
I agree with your proposed fix, but don't get why this happens. Anything else on your environment that is different?
> JspTagTestCase fails on Windows
> -------------------------------
>
> Key: WFLY-6695
> URL: https://issues.jboss.org/browse/WFLY-6695
> Project: WildFly
> Issue Type: Bug
> Components: Test Suite
> Affects Versions: 10.1.0.Final
> Environment: Windows 10, Oracle JDK 1.8.0_92
> Reporter: Frank Langelage
>
> build.bat clean install failed with
> -------------------------------------------------------------------------------
> Test set: org.jboss.as.test.integration.jsp.JspTagTestCase
> -------------------------------------------------------------------------------
> Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.768 sec <<< FAILURE! - in org.jboss.as.test.integration.jsp.JspTagTestCase
> test(org.jboss.as.test.integration.jsp.JspTagTestCase) Time elapsed: 0.486 sec <<< FAILURE!
> org.junit.ComparisonFailure: expected:<This is a header[
> <div>tag</div>
> Static content]
> > but was:<This is a header[
> <div>tag</div>
> Static content
> ]
> >
> at org.junit.Assert.assertEquals(Assert.java:115)
> at org.junit.Assert.assertEquals(Assert.java:144)
> at org.jboss.as.test.integration.jsp.JspTagTestCase.test(JspTagTestCase.java:67)
> Replacing all occurence of "\n" with System.getProperty("line.separator") in the expected String solved the problem for me.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jboss-jira
mailing list