[ https://issues.apache.org/jira/browse/HDDS-796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16674755#comment-16674755 ]
Akira Ajisaka commented on HDDS-796: ------------------------------------ LGTM, +1. > 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 > 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: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org