use of com.sequenceiq.it.cloudbreak.mock.MockInstanceUtil in project cloudbreak by hortonworks.
the class MockSparkServer method generateInstances.
private static Map<String, CloudVmMetaDataStatus> generateInstances() {
Map<String, CloudVmMetaDataStatus> instanceMap = new HashMap<>();
MockInstanceUtil mockInstanceUtil = new MockInstanceUtil(MOCK_SERVER_ADDRESS, SSH_PORT);
mockInstanceUtil.addInstance(instanceMap, NUMBER_OF_INSTANCES);
return instanceMap;
}
Aggregations