Fix scenario tests
Fix several issues in scenario test to get them stable again:
- The SSH timeout was set to 80 seconds what is way too low for an
Nova instance to come up in the gate.
- Scenario test access rule cleanup is not necessary, access rules
are deleted when share instance is deleted.
Co-Authored-By: Rodrigo Barbieri <rodrigo.barbieri@fit-tecnologia.org.br>
Closes-bug #1545715
Change-Id: I9f22f0416bb248666fe906e1ca653517054f21b5
diff --git a/manila_tempest_tests/tests/scenario/test_share_basic_ops.py b/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
index fe66787..4b1daf4 100644
--- a/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
+++ b/manila_tempest_tests/tests/scenario/test_share_basic_ops.py
@@ -173,7 +173,8 @@
self.security_group = self._create_security_group()
self.create_share()
instance = self.boot_instance()
- self.allow_access_ip(self.share['id'], instance=instance)
+ self.allow_access_ip(self.share['id'], instance=instance,
+ cleanup=False)
ssh_client = self.init_ssh(instance)
for location in self.share['export_locations']:
self.mount_share(location, ssh_client)
@@ -189,7 +190,8 @@
# boot first VM and write data
instance1 = self.boot_instance()
- self.allow_access_ip(self.share['id'], instance=instance1)
+ self.allow_access_ip(self.share['id'], instance=instance1,
+ cleanup=False)
ssh_client_inst1 = self.init_ssh(instance1)
# TODO(vponomaryov): use separate API for getting export location for