mirror of https://github.com/apache/jclouds.git
parent
e5fb0b607d
commit
3e082c8945
|
@ -332,9 +332,9 @@ public abstract class BaseSecurityGroupExtensionLiveTest extends BaseComputeServ
|
||||||
IpPermission cidrExclusionPermission = createCidrExclusionPermission();
|
IpPermission cidrExclusionPermission = createCidrExclusionPermission();
|
||||||
Set<IpPermission> expectedPermissions = ImmutableSet.of(cidrExclusionPermission);
|
Set<IpPermission> expectedPermissions = ImmutableSet.of(cidrExclusionPermission);
|
||||||
|
|
||||||
SecurityGroup securityGriupWithExclusion = securityGroupExtension.get().addIpPermission(cidrExclusionPermission, group);
|
SecurityGroup securityGroupWithExclusion = securityGroupExtension.get().addIpPermission(cidrExclusionPermission, group);
|
||||||
|
|
||||||
assertTrue(securityGriupWithExclusion.getIpPermissions().containsAll(expectedPermissions));
|
assertTrue(securityGroupWithExclusion.getIpPermissions().containsAll(expectedPermissions));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(groups = { "integration", "live" }, singleThreaded = true, dependsOnMethods = "testAddIpPermissionWithCidrExclusionGroup")
|
@Test(groups = { "integration", "live" }, singleThreaded = true, dependsOnMethods = "testAddIpPermissionWithCidrExclusionGroup")
|
||||||
|
|
Loading…
Reference in New Issue