Tests for compute node stats.
-
class StatsTestCase(*args, **kwargs)
Bases: nova.test.TestCase
-
setUp()
-
test_add_stats_for_instance()
-
test_calculate_workload()
-
test_clear()
-
test_instance_count()
-
test_io_workload()
-
test_io_workload_saved_to_stats()
-
test_os_type_count()
-
test_update_project_count()
-
test_update_stats_for_instance_deleted()
-
test_update_stats_for_instance_no_change()
-
test_update_stats_for_instance_task_change()
-
test_update_stats_for_instance_vm_change()