// [FABRIC-1172] Jolokia exec operations fail on WildFly
Assume.assumeFalse(getRuntimeType() == RuntimeType.WILDFLY);
// [FABRIC-1169] Profile version attributes leak to other versions
// VersionState v12 = getProxy().createVersion("1.0", "1.2", Collections.singletonMap("keyA", "valA"));
VersionState v12 = getProxy().createVersionFrom("1.0", "1.2", null);
try {
Assert.assertEquals("1.2", v12.getId());
//Assert.assertEquals("valA", v12.getAttributes().get("keyA"));
List<String> profiles = v12.getProfiles();
Assert.assertTrue(profiles.contains("default"));
Assert.assertTrue(profiles.contains("fabric"));
} finally {
getProxy().deleteVersion("1.2");
}