Map<String, String> deploymentProperties = new HashMap<>();
deploymentProperties.put(AppDeployer.COUNT_PROPERTY_KEY, "3");
deploymentProperties.put(AppDeployer.INDEXED_PROPERTY_KEY, "true");
AppDeploymentRequest request = new AppDeploymentRequest(definition, resource, deploymentProperties);
log.info("Deploying {}...", request.getDefinition().getName());
<BUG>String deploymentId = appDeployer().deploy(request);
</BUG>
Timeout timeout = deploymentTimeout();
assertThat(deploymentId, eventually(hasStatusThat(
Matchers.<AppStatus>hasProperty("state", is(partial))), timeout.maxAttempts, timeout.pause));

Map<String, String> deploymentProperties = new HashMap<>();
deploymentProperties.put(AppDeployer.COUNT_PROPERTY_KEY, "3");
deploymentProperties.put(AppDeployer.INDEXED_PROPERTY_KEY, "true");
AppDeploymentRequest request = new AppDeploymentRequest(definition, resource, deploymentProperties);
log.info("Deploying {}...", request.getDefinition().getName());
String deploymentId = record(appDeployer().deploy(request));
Timeout timeout = deploymentTimeout();
assertThat(deploymentId, eventually(hasStatusThat(
Matchers.<AppStatus>hasProperty("state", is(partial))), timeout.maxAttempts, timeout.pause));
