You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Michael Han (Jira)" <ji...@apache.org> on 2020/10/21 02:50:00 UTC
[jira] [Created] (ZOOKEEPER-3981) Flaky test
MultipleAddressTest::testGetValidAddressWithNotValid
Michael Han created ZOOKEEPER-3981:
--------------------------------------
Summary: Flaky test MultipleAddressTest::testGetValidAddressWithNotValid
Key: ZOOKEEPER-3981
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3981
Project: ZooKeeper
Issue Type: Task
Components: tests
Reporter: Michael Han
Assignee: Michael Han
Problem:
Test MultipleAddressTest::testGetValidAddressWithNotValid might fail deterministically when the address it's using, 10.0.0.1, is reachable, as per https://tools.ietf.org/html/rfc5735 10.0.0.1 might be allocatable to private network usage. In fact, the router address of my ISP is assigned this IP, leading to this test always failing for me.
Solution:
Replace the address with 240.0.0.0, which is reserved for future use and less likely to be reachable.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)