HDDS-827. TestStorageContainerManagerHttpServer should use dynamic port. Contributed by Sandeep Nemuri.
This commit is contained in:
parent
2718f7534d
commit
0a8b1efbfb
|
@ -95,6 +95,7 @@ public class TestStorageContainerManagerHttpServer {
|
|||
|
||||
@Test public void testHttpPolicy() throws Exception {
|
||||
conf.set(DFSConfigKeys.DFS_HTTP_POLICY_KEY, policy.name());
|
||||
conf.set(ScmConfigKeys.OZONE_SCM_HTTP_ADDRESS_KEY, "localhost:0");
|
||||
conf.set(ScmConfigKeys.OZONE_SCM_HTTPS_ADDRESS_KEY, "localhost:0");
|
||||
|
||||
InetSocketAddress.createUnresolved("localhost", 0);
|
||||
|
|
Loading…
Reference in New Issue