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

Jean-Baptiste Onofré reassigned KARAF-7989:
-------------------------------------------

    Assignee: Jean-Baptiste Onofré

> Test Failures on Windows
> ------------------------
>
>                 Key: KARAF-7989
>                 URL: https://issues.apache.org/jira/browse/KARAF-7989
>             Project: Karaf
>          Issue Type: Test
>          Components: karaf
>            Reporter: Holger Friedrich
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>
> First problem occurs in testColoredTable:
>  
> {noformat}
> [ERROR] org.apache.karaf.shell.support.table.ShellTableTest.testColoredTable 
> – Time elapsed: 0.007 s <<< FAILURE!
> org.junit.ComparisonFailure:
> expected:<...d have default color[
> Active Green color
> This is Resolved Yellow color]
> > but was:<...d have default color[
> Active Green color
> ]his is Resolved Yellow color
> >{noformat}
>  
> I have tracked down a bit, first by reducing the testdata to a single line 
> without color commands, it still failed.
> Converting the strings to hex, I found 2 differences: first, the number of 
> spaces seems to differ. Second, there is an unexpected 0x0D, i.e. a \r.
> Not sure how to fix this, thus opening the issue without a PR.
>  
> Similar issues in for all test cases in `LogServiceLogbackXmlTest.java`, 
> `LogServiceLog4j2XmlImplTest.java`, `EventPrinterTest.java`.
>  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to