hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject [hadoop] branch trunk updated: HDDS-1533. JVM exit on TestHddsDatanodeService
Date Tue, 28 May 2019 12:18:58 GMT
This is an automated email from the ASF dual-hosted git repository.

elek pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 9f0d341  HDDS-1533. JVM exit on TestHddsDatanodeService
9f0d341 is described below

commit 9f0d3412f88c61c83a20cc46adce866ccf4fdc7c
Author: Mukul Kumar Singh <msingh@apache.org>
AuthorDate: Tue May 28 14:18:25 2019 +0200

    HDDS-1533. JVM exit on TestHddsDatanodeService
    
    Closes #859
---
 .../src/test/java/org/apache/hadoop/ozone/TestHddsDatanodeService.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/TestHddsDatanodeService.java
b/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/TestHddsDatanodeService.java
index f54fa75..af56d06 100644
--- a/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/TestHddsDatanodeService.java
+++ b/hadoop-hdds/container-service/src/test/java/org/apache/hadoop/ozone/TestHddsDatanodeService.java
@@ -65,13 +65,13 @@ public class TestHddsDatanodeService {
   public void testStartup() throws IOException {
     service = HddsDatanodeService.createHddsDatanodeService(args);
     service.start(conf);
-    service.join();
 
     assertNotNull(service.getDatanodeDetails());
     assertNotNull(service.getDatanodeDetails().getHostName());
     assertFalse(service.getDatanodeStateMachine().isDaemonStopped());
 
     service.stop();
+    service.join();
     service.close();
   }
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message