parent
4a692bc3be
commit
9f0d3412f8
@ -65,13 +65,13 @@ public void tearDown() {
|
||||
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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user