You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "maxwellguo (Jira)" <ji...@apache.org> on 2019/09/10 03:41:00 UTC
[jira] [Updated] (CASSANDRA-15323) MessagingServiceTest failed with
method listenRequiredSecureConnectionWithBroadcastAddr ON MAC OS
[ https://issues.apache.org/jira/browse/CASSANDRA-15323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
maxwellguo updated CASSANDRA-15323:
-----------------------------------
Resolution: Fixed
Status: Resolved (was: Triage Needed)
just modify the mac os ip
> MessagingServiceTest failed with method listenRequiredSecureConnectionWithBroadcastAddr ON MAC OS
> ------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-15323
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15323
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: maxwellguo
> Assignee: maxwellguo
> Priority: Normal
> Attachments: exception.png
>
>
> when I do unit test on mac os , I found that the unit test failed when doing MessagingServiceTest on method listenRequiredSecureConnectionWithBroadcastAddr.
> I found out that it is because that the mac os can not get connect to ip address 127.0.0.2 on default.
> so when you doing : ant test -Dtest.name=MessagingServiceTest -Dtest.methods=listenRequiredSecureConnectionWithBroadcastAddr
> you can get a bind exception : can not assign request address.
> !exception.png!
> what to do with it ,you can just set the 127.0.0.2 by :
> sudo ifconfig lo0 alias 127.0.0.2 netmask 0xFFFFFFFF
> then the unit can run successfully .
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org