You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/08/03 17:55:00 UTC

[jira] [Commented] (GEODE-8391) Skip AvailablePort test assertion if host machine does not support it

    [ https://issues.apache.org/jira/browse/GEODE-8391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17170241#comment-17170241 ] 

ASF subversion and git services commented on GEODE-8391:
--------------------------------------------------------

Commit 76573ce5b52abfec608869750db510003765c51c in geode's branch refs/heads/feature/GEODE-7665 from Dale Emery
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=76573ce ]

GEODE-8391: Skip assertion if unsupported by host (#5412)

An assertion in AvailablePortJUnitTest.testIsPortAvailable() assumes
that the InetAddress for the local host is not a loopback address.
Though this assumption holds in our CI containers, it fails on some
developer's Macs, and perhaps on other hosts.

This commit changes the test to skip that assertion if the local host
address is a loopback address.

Authored-by: Dale Emery <de...@vmware.com>

> Skip AvailablePort test assertion if host machine does not support it
> ---------------------------------------------------------------------
>
>                 Key: GEODE-8391
>                 URL: https://issues.apache.org/jira/browse/GEODE-8391
>             Project: Geode
>          Issue Type: Test
>          Components: tests
>            Reporter: Dale Emery
>            Priority: Major
>              Labels: GeodeOperationAPI, pull-request-available
>
> One of the assertions in {{AvailablePortJUnitTest.testIsPortAvailable()}} assumes that the {{InetAddress}} for the local host is not a loopback address. Though this assumption holds in our CI containers, it fails on some developer's Macs.
> Change the test to skip this one assertion if the {{InetAddress}} for the local host is a loopback address.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)