Tests for resource tracker claims.
-
class ClaimTestCase(*args, **kwargs)
Bases: nova.test.TestCase
-
setUp()
-
test_abort()
-
test_cpu_insufficient()
-
test_cpu_oversubscription()
-
test_cpu_unlimited()
-
test_disk_insufficient()
-
test_disk_oversubscription()
-
test_disk_unlimited_ephemeral()
-
test_disk_unlimited_root()
-
test_memory_insufficient()
-
test_memory_oversubscription()
-
test_memory_unlimited()
-
class DummyTracker
Bases: object
-
abort_instance_claim(*args, **kwargs)
-
abort_resize_claim(*args, **kwargs)
-
icalled = False
-
rcalled = False
-
class ResizeClaimTestCase(*args, **kwargs)
Bases: nova.tests.compute.test_claims.ClaimTestCase
-
setUp()
-
test_abort()