public void CanSetLargeQuota() { const ulong limit = 7UL * 1024 * 1024 * 1024; Container1 = CreateContainer(Container1Handle); Container1.LimitDisk(limit); Assert.Equal(limit, Container1.CurrentDiskLimit()); }
public void DeletingContainer_DeletesDiskQuota() { Container1 = CreateContainer(Container1Handle); Container1.LimitDisk(5000); Assert.Equal(5000UL, Container1.CurrentDiskLimit()); ContainerService.DestroyContainer(Container1Handle); Assert.Equal(0UL, Container1.CurrentDiskLimit()); }