[
https://issues.apache.org/jira/browse/GEODE-3826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203628#comment-16203628
]
ASF subversion and git services commented on GEODE-3826:
--------------------------------------------------------
Commit 0814791dc20467778dec704d4b0571e02c01295a in geode's branch
refs/heads/develop from [~khowe]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=0814791 ]
GEODE-3826: Use system independent expected strings
Replace explicit newline in expected strings with
SystemUtils.LINE_SEPARATOR so tests can run on Windows
> CI Failure: CommandResultTest failures on Windows
> -------------------------------------------------
>
> Key: GEODE-3826
> URL: https://issues.apache.org/jira/browse/GEODE-3826
> Project: Geode
> Issue Type: Bug
> Components: gfsh
> Affects Versions: 1.2.1
> Environment: Windows
> Reporter: Kenneth Howe
> Assignee: Kenneth Howe
> Labels: CI
>
> Three tests in CommandResultTest are failing only on Windows. From the logged
> failures it looks like the test assertions are using system dependent
> expected strings (i.e. looking for explicit {{\n}} characters.)
> {code}
> org.apache.geode.management.internal.cli.result.CommandResultTest >
> resultWithFileDoesHaveFileToDownload FAILED
> org.junit.ComparisonFailure: expected:<...de-core\build\test\.[]
> "> but was:<...de-core\build\test\.[
> ]
> ">
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at
> org.apache.geode.management.internal.cli.result.CommandResultTest.resultWithFileDoesHaveFileToDownload(CommandResultTest.java:70)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)