[
https://issues.apache.org/jira/browse/GEODE-4255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323578#comment-16323578
]
ASF subversion and git services commented on GEODE-4255:
--------------------------------------------------------
Commit a4329ad497a3f2589f46fd70ae2097c89f1278ec in geode's branch
refs/heads/feature/GEM-883 from [~PivotalSarge]
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a4329ad ]
GEODE-4255: Remove mandatory failure on macOS.
> Remove mandatory failure on macOS for
> WANConfigurationJUnitTest.test_ValidateGatewayReceiverAttributes_WrongBindAddress
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: GEODE-4255
> URL: https://issues.apache.org/jira/browse/GEODE-4255
> Project: Geode
> Issue Type: Bug
> Components: wan
> Reporter: Michael Dodge
> Assignee: Michael Dodge
>
> The JUnit test
> {{WANConfigurationJUnitTest.test_ValidateGatewayReceiverAttributes_WrongBindAddress}}
> always fails on macOS because there is code in lines 428-430 of
> {{WANConfigurationJUnitTest.java}} that calls {{fail()}} if the OS name is
> {{Mac OS X}}. The preceding comment says that the mandatory failure is in
> response to a change in messaging in the Yosemite release of macOS that
> results in a failure in "GatewayReceiverImpl around line 167".
> At a minimum, it seems like this test should just immediately return
> successfully rather than always fail. (If the thinking was that always
> failing would induce someone to fix the underlying problem, that obviously
> hasn't worked very well so far.) Alternatively, it would be nice to verify
> that the problem still exists. Ideally, the underlying problem ought to be
> fixed.
> {noformat}
> org.apache.geode.internal.cache.wan.misc.WANConfigurationJUnitTest >
> test_ValidateGatewayReceiverAttributes_WrongBindAddress FAILED
> java.lang.AssertionError: Failing to avoid known hang on Mac OS X.
> at org.junit.Assert.fail(Assert.java:88)
> at
> org.apache.geode.internal.cache.wan.misc.WANConfigurationJUnitTest.test_ValidateGatewayReceiverAttributes_WrongBindAddress(WANConfigurationJUnitTest.java:429)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)