Skip to content

Commit a160b46

Browse files
Gaurav AradhyeGirish Shilamkar
authored andcommitted
CLOUDSTACK-4780: Changes related to checking snapshot path
on NFS server, also made marvin import paths specific
1 parent 5d03fa8 commit a160b46

18 files changed

Lines changed: 130 additions & 81 deletions

test/integration/component/test_add_remove_network.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,17 +42,17 @@
4242
from marvin.integration.lib.common import (get_domain,
4343
get_zone,
4444
get_template,
45-
cleanup_resources,
4645
list_virtual_machines,
4746
list_events,
4847
list_zones,
4948
get_free_vlan,
50-
get_hypervisor_type,
5149
update_resource_limit
5250
)
5351

5452
from marvin.integration.lib.utils import (validateList,
55-
random_gen)
53+
random_gen,
54+
get_hypervisor_type,
55+
cleanup_resources)
5656

5757
from marvin.cloudstackAPI import (addNicToVirtualMachine,
5858
removeNicFromVirtualMachine,

test/integration/component/test_assign_vm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
from marvin.integration.lib.common import (get_domain,
3333
get_zone,
3434
get_template,
35-
cleanup_resources,
3635
list_volumes,
3736
update_resource_limit,
3837
list_networks,
3938
list_snapshots,
4039
list_virtual_machines)
40+
from marvin.integration.lib.utils import cleanup_resources
4141

4242
def log_test_exceptions(func):
4343
def test_wrap_exception_log(self, *args, **kwargs):

test/integration/component/test_cpu_domain_limits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
from marvin.integration.lib.common import (get_domain,
3131
get_zone,
3232
get_template,
33-
cleanup_resources,
3433
find_suitable_host,
3534
get_resource_type
3635
)
36+
from marvin.integration.lib.utils import cleanup_resources
3737

3838
class Services:
3939
"""Test resource limit services

test/integration/component/test_cpu_limits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
from marvin.integration.lib.common import (get_domain,
3131
get_zone,
3232
get_template,
33-
cleanup_resources,
3433
find_suitable_host,
3534
get_resource_type
3635
)
36+
from marvin.integration.lib.utils import cleanup_resources
3737

3838

3939
class Services:

test/integration/component/test_cpu_max_limits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
)
3131
from marvin.integration.lib.common import (get_domain,
3232
get_zone,
33-
get_template,
34-
cleanup_resources
33+
get_template
3534
)
35+
from marvin.integration.lib.utils import cleanup_resources
3636

3737
class Services:
3838
"""Test resource limit services

test/integration/component/test_cpu_project_limits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
from marvin.integration.lib.common import (get_domain,
3131
get_zone,
3232
get_template,
33-
cleanup_resources,
3433
find_suitable_host,
3534
get_resource_type
3635
)
36+
from marvin.integration.lib.utils import cleanup_resources
3737

3838
class Services:
3939
"""Test resource limit services

test/integration/component/test_egress_fw_rules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
rebootRouter,
3636
list_routers,
3737
wait_for_cleanup,
38-
cleanup_resources,
3938
list_virtual_machines)
39+
from marvin.integration.lib.utils import cleanup_resources
4040
from marvin.cloudstackAPI.createEgressFirewallRule import createEgressFirewallRuleCmd
4141
from marvin.cloudstackAPI.deleteEgressFirewallRule import deleteEgressFirewallRuleCmd
4242

test/integration/component/test_haproxy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434
from marvin.integration.lib.common import (get_domain,
3535
get_zone,
3636
get_template,
37-
cleanup_resources,
3837
random_gen
3938
)
39+
from marvin.integration.lib.utils import cleanup_resources
4040
from marvin.cloudstackAPI import createLBStickinessPolicy
4141
from marvin.sshClient import SshClient
4242

test/integration/component/test_mm_domain_limits.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
from marvin.integration.lib.common import (get_domain,
3030
get_zone,
3131
get_template,
32-
cleanup_resources,
3332
wait_for_cleanup,
3433
find_suitable_host,
3534
get_resource_type,
3635
update_resource_count
3736
)
37+
from marvin.integration.lib.utils import cleanup_resources
3838

3939
class Services:
4040
"""Test memory resource limit services

test/integration/component/test_mm_max_limits.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@
2929
)
3030
from marvin.integration.lib.common import (get_domain,
3131
get_zone,
32-
get_template,
33-
cleanup_resources
32+
get_template
3433
)
34+
from marvin.integration.lib.utils import cleanup_resources
3535

3636
class Services:
3737
"""Test memory resource limit services

0 commit comments

Comments
 (0)