File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3535import org .apache .hadoop .hdds .HddsConfigKeys ;
3636import org .apache .hadoop .hdds .conf .OzoneConfiguration ;
3737import org .apache .hadoop .hdds .protocol .SCMSecurityProtocol ;
38+ import org .apache .hadoop .hdds .scm .HddsTestUtils ;
3839import org .apache .hadoop .hdds .scm .ScmConfigKeys ;
3940import org .apache .hadoop .hdds .scm .ScmInfo ;
4041import org .apache .hadoop .hdds .scm .client .HddsClientUtils ;
@@ -271,7 +272,7 @@ public void testSecureScmStartupSuccess() throws Exception {
271272 public void testSCMSecurityProtocol () throws Exception {
272273
273274 initSCM ();
274- scm = StorageContainerManager . createSCM (conf );
275+ scm = HddsTestUtils . getScm (conf );
275276 //Reads the SCM Info from SCM instance
276277 try {
277278 scm .start ();
@@ -739,7 +740,7 @@ public void testSecureOmReInit() throws Exception {
739740
740741 initSCM ();
741742 try {
742- scm = StorageContainerManager . createSCM (conf );
743+ scm = HddsTestUtils . getScm (conf );
743744 scm .start ();
744745 conf .setBoolean (OZONE_SECURITY_ENABLED_KEY , false );
745746 OMStorage omStore = new OMStorage (conf );
@@ -785,7 +786,7 @@ public void testSecureOmInitSuccess() throws Exception {
785786 omLogs .clearOutput ();
786787 initSCM ();
787788 try {
788- scm = StorageContainerManager . createSCM (conf );
789+ scm = HddsTestUtils . getScm (conf );
789790 scm .start ();
790791
791792 OMStorage omStore = new OMStorage (conf );
You can’t perform that action at this time.
0 commit comments