OperationManager operationManager = PluginContainer.getInstance().getOperationManager();
OperationServicesAdapter operationsService = new OperationServicesAdapter(operationManager);
long timeout = 1000 * 60;
OperationContextImpl operationContext = new OperationContextImpl(storageNode.getId(), operationManager);
OperationServicesResult result = operationsService.invokeOperation(operationContext, "shutdown",
new Configuration(), timeout);
assertEquals(result.getResultCode(), OperationServicesResultCode.SUCCESS, "The shutdown operation failed");
File binDir = new File(basedir, "bin");