public void testProfileRedeploy() throws Exception {
executeCommandAsAdmin("fabric:create -n");
ServiceProxy<FabricService> fabricProxy = ServiceProxy.createServiceProxy(bundleContext, FabricService.class);
try {
FabricService fabricService = fabricProxy.getService();
<BUG>Set<ContainerProxy> containers = ContainerBuilder.create(fabricProxy, 1).withJvmOpts("-Xmx512m -XX:MaxPermSize=128m").withName("node").withProfiles("jboss-fuse-full").assertProvisioningResult().build();
try {</BUG>
Container node = containers.iterator().next();
Provision.provisioningSuccess(Arrays.asList(node), PROVISION_TIMEOUT);
CuratorFramework curator = fabricService.adapt(CuratorFramework.class);

public void testProfileRedeploy() throws Exception {
executeCommandAsAdmin("fabric:create -n");
ServiceProxy<FabricService> fabricProxy = ServiceProxy.createServiceProxy(bundleContext, FabricService.class);
try {
FabricService fabricService = fabricProxy.getService();
Set<ContainerProxy> containers = ContainerBuilder.create(fabricProxy, 1).withJvmOpts("-Xmx512m -XX:MaxPermSize=128m")
.withName("node").withProfiles("jboss-fuse-full").assertProvisioningResult().build();
try {
Container node = containers.iterator().next();
Provision.provisioningSuccess(Arrays.asList(node), PROVISION_TIMEOUT);
CuratorFramework curator = fabricService.adapt(CuratorFramework.class);
