[
https://issues.apache.org/jira/browse/HDDS-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yiqun Lin updated HDDS-796:
---------------------------
Resolution: Fixed
Fix Version/s: 0.4.0
Status: Resolved (was: Patch Available)
Committed this to trunk.
Thanks [~ajisakaa] and [~giovanni.fumarola] for the reviews.
> 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
> Priority: Major
> Fix For: 0.4.0
>
> Attachments: HDDS-796.001.patch, HDDS-796.002.patch,
> HDDS-796.003.patch
>
>
> 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 across all the projects 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]