GuoPhilipse commented on a change in pull request #3696: URL: https://github.com/apache/hadoop/pull/3696#discussion_r762718753
########## File path: hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestBlockStoragePolicy.java ########## @@ -1291,6 +1291,9 @@ public void testChooseTargetWithTopology() throws Exception { new HashSet<Node>(), 0, policy2, null); System.out.println(Arrays.asList(targets)); Assert.assertEquals(3, targets.length); + if (namenode != null) { + namenode.stop(); + } Review comment: Thanks @ayushtkn for your review, have just updated the code -- 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. To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org