File tree Expand file tree Collapse file tree
hadoop-ozone/ozone-manager/src/test/java/org/apache/hadoop/ozone/om Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525import org .apache .hadoop .http .HttpConfig ;
2626import org .apache .hadoop .http .HttpConfig .Policy ;
2727import org .apache .hadoop .net .NetUtils ;
28- import org .apache .hadoop .hdds .scm .ScmConfigKeys ;
2928import org .apache .hadoop .security .ssl .KeyStoreTestUtil ;
3029import org .apache .hadoop .test .GenericTestUtils ;
3130import org .junit .AfterClass ;
@@ -94,8 +93,8 @@ public TestOzoneManagerHttpServer(Policy policy) {
9493
9594 @ Test public void testHttpPolicy () throws Exception {
9695 conf .set (DFSConfigKeys .DFS_HTTP_POLICY_KEY , policy .name ());
97- conf .set (ScmConfigKeys . OZONE_SCM_HTTPS_ADDRESS_KEY , "localhost:0" );
98- InetSocketAddress addr = InetSocketAddress . createUnresolved ( "localhost" , 0 );
96+ conf .set (OMConfigKeys . OZONE_OM_HTTP_ADDRESS_KEY , "localhost:0" );
97+ conf . set ( OMConfigKeys . OZONE_OM_HTTPS_ADDRESS_KEY , "localhost:0" );
9998
10099 OzoneManagerHttpServer server = null ;
101100 try {
You can’t perform that action at this time.
0 commit comments