You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Anthony Baker (JIRA)" <ji...@apache.org> on 2018/04/20 19:56:16 UTC
[jira] [Closed] (GEODE-4255) Remove mandatory failure on macOS for
WANConfigurationJUnitTest.test_ValidateGatewayReceiverAttributes_WrongBindAddress
[ https://issues.apache.org/jira/browse/GEODE-4255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker closed GEODE-4255.
--------------------------------
> 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
> Priority: Major
>
> 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
(v7.6.3#76005)