Holger Friedrich created KARAF-7989:
---------------------------------------
Summary: 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
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)