nandakumar131 commented on a change in pull request #700: HDDS-3172. Use 
DBStore instead of MetadataStore in SCM
URL: https://github.com/apache/hadoop-ozone/pull/700#discussion_r409718432
 
 

 ##########
 File path: 
hadoop-hdds/server-scm/src/test/java/org/apache/hadoop/hdds/scm/pipeline/TestSCMPipelineManager.java
 ##########
 @@ -78,17 +80,26 @@ public void setUp() throws Exception {
       throw new IOException("Unable to create test directory path");
     }
     nodeManager = new MockNodeManager(true, 20);
+
+    store = new SCMDBDefinition().createDBStore(conf);
+
+
   }
 
   @After
-  public void cleanup() {
+  public void cleanup() throws Exception {
+    store.close();
     FileUtil.fullyDelete(testDir);
   }
 
   @Test
   public void testPipelineReload() throws IOException {
     SCMPipelineManager pipelineManager =
-        new SCMPipelineManager(conf, nodeManager, new EventQueue());
+
 
 Review comment:
   empty line can be removed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: ozone-issues-h...@hadoop.apache.org

Reply via email to