Skip to content

Commit

Permalink
Merge pull request openstack-charmers#421 from openstack-charmers/lou…
Browse files Browse the repository at this point in the history
…rot/bug/1895636

Make test_manila_share more robust
  • Loading branch information
dshcherb authored Sep 22, 2020
2 parents c5786d9 + 1ff71db commit d04befa
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions zaza/openstack/charm_tests/manila_ganesha/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

from manilaclient import client as manilaclient

import zaza.openstack.charm_tests.glance.setup as glance_setup
import zaza.openstack.charm_tests.neutron.tests as neutron_tests
import zaza.openstack.charm_tests.nova.utils as nova_utils
import zaza.openstack.charm_tests.test_utils as test_utils
Expand Down Expand Up @@ -62,13 +61,7 @@ def test_manila_share(self):
share_proto="nfs", size=1)

# Spawn Servers
instance_1 = guest.launch_instance(
glance_setup.LTS_IMAGE_NAME,
vm_name='{}-ins-1'.format(self.RESOURCE_PREFIX),
userdata=self.INSTANCE_USERDATA)
instance_2 = guest.launch_instance(
glance_setup.LTS_IMAGE_NAME,
vm_name='{}-ins-2'.format(self.RESOURCE_PREFIX),
instance_1, instance_2 = self.launch_guests(
userdata=self.INSTANCE_USERDATA)

fip_1 = neutron_tests.floating_ips_from_instance(instance_1)[0]
Expand Down

0 comments on commit d04befa

Please sign in to comment.