Yiqun Lin created HDDS-796:
------------------------------
Summary: Fix failed test
TestStorageContainerManagerHttpServer#testHttpPolicy
Key: HDDS-796
URL: https://issues.apache.org/jira/browse/HDDS-796
Project: Hadoop Distributed Data Store
Issue Type: Bug
Reporter: Yiqun Lin
Assignee: Yiqun Lin
After replacing usage of Guava Optional with Java Optional (HDDS-751), there
are two unit test failures generated
([https://builds.apache.org/job/PreCommit-HDDS-Build/1594/testReport/]). The
unit tests are not fully triggered and tested under HDDS-751, :P
{noformat}
java.util.NoSuchElementException: No value present
at java.util.Optional.get(Optional.java:135)
at
org.apache.hadoop.hdds.server.BaseHttpServer.getBindAddress(BaseHttpServer.java:121)
at
org.apache.hadoop.hdds.server.BaseHttpServer.getHttpBindAddress(BaseHttpServer.java:148)
at
org.apache.hadoop.hdds.server.BaseHttpServer.<init>(BaseHttpServer.java:63)
at
org.apache.hadoop.hdds.scm.server.StorageContainerManagerHttpServer.<init>(StorageContainerManagerHttpServer.java:34)
at
org.apache.hadoop.hdds.scm.TestStorageContainerManagerHttpServer.testHttpPolicy(TestStorageContainerManagerHttpServer.java:103)
{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]