Merge lp://qastaging/~rohitk/nova/libvirt_unittests into lp://qastaging/~hudson-openstack/nova/trunk
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp://qastaging/~rohitk/nova/libvirt_unittests | ||||
Merge into: | lp://qastaging/~hudson-openstack/nova/trunk | ||||
Diff against target: |
2005 lines (+1769/-59) 3 files modified
Authors (+1/-0) nova/tests/fake_network.py (+3/-0) nova/tests/test_libvirt.py (+1765/-59) |
||||
To merge this branch: | bzr merge lp://qastaging/~rohitk/nova/libvirt_unittests | ||||
Related bugs: |
|
||||
Related blueprints: |
Diablo Testing
(Medium)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brian Lamar (community) | Needs Fixing | ||
Matt Dietz (community) | Approve | ||
William Wolf (community) | Approve | ||
Jay Pipes (community) | Approve | ||
Review via email:
|
Description of the change
I have added the following test methods for LibvirtConnTestCase class in tests/test_
This also fixes bugs in the test_spawn_
Code coverage for libvirt/
Some tests (#72,73) have been skipped due to Bug:807764.
This effort is towards the Diablo-testing blueprint (https:/
1 test_live_
2 test_live_
3 test_spawn_
4 test_spawn_
5 test_destroy
6 test_destroy_
7 test_destroy_
8 test_destroy_
9 test_destroy_
10 test_reboot
11 test_reboot_
12 test_list_
13 test_list_
14 test_pause
15 test_unpause
16 test_suspend
17 test_resume
18 test_rescue
19 test_rescue_
20 test_unrescue
21 test_attach_volume
22 test_attach_
23 test_detach_volume
24 test_detach_
25 test_get_disks
26 test_get_
27 test_get_interfaces
28 test_get_
29 test_get_info
30 test_get_cpu_info
31 test_get_
32 test_get_
33 test_compare_cpu
34 test_compare_
35 test_compare_
36 test_init_
37 test_init_
38 test_init_
39 test_get_
40 test_get_
41 test_get_
42 test_get_
43 test_get_
44 test_get_
45 test_get_
46 test_get_
47 test_block_stats
48 test_interface_
49 test_get_
50 test_refresh_
51 test_refresh_
52 test_refresh_
53 test_unfilter_
54 test_get_vcpu_used
55 test_cache_
56 test_cache_
57 test_fetch_
58 test_fetch_
59 test_create_local
60 test_lookup_by_name
61 test_lookup_
62 test_lookup_
63 test_get_disk_xml
64 test_get_
65 test_flush_
66 test_flush_
67 test_append_to_file
68 test_dump_file
69 test_volume_
70 test_volume_
71 test_create_
72 test_create_
73 test_create_
74 test_get_connection
75 test_test_
76 test_test_
77 test_test_
78 test_connect_
79 test_connect_
80 test_map_
81 test_cleanup
Unmerged revisions
- 1258. By Rohit Karajgi
-
Removed failing skipped tests till Bugs 853602 and 854009 are fixed
- 1257. By Rohit Karajgi
-
Merge Trunk
- 1256. By Rohit Karajgi
-
post merge
- 1255. By Rohit Karajgi
-
added fake gateway_v6
- 1254. By Rohit Karajgi
-
Fixed import sequence and some regressions
- 1253. By Rohit Karajgi
-
Merge trunk
- 1252. By Rohit Karajgi
-
Resolved conflicts on merge
- 1251. By Rohit Karajgi
-
Merge Trunk
- 1250. By Rohit Karajgi
-
Modified affected tests after changes to virt.connection due to Midokura's network refactoring branch
- 1249. By Rohit Karajgi
-
Merge trunk
Only two minor pep8 violations (lines 309, and 2915 - adding a comma will make them go away). Also, a nit about the whitespace in the XML (lines 321 to 332). Other than that, it looks good.