Merge "Fixed ssh timeout issue in long running tests"
This commit is contained in:
commit
f716f76db4
|
@ -40,6 +40,9 @@ class VolumeCloningIntegrationSmokeTests(ComputeIntegrationTestFixture):
|
||||||
source_volid=self.test_volume.id_)
|
source_volid=self.test_volume.id_)
|
||||||
assert self.volume_clone is not None, "Unable to clone volume"
|
assert self.volume_clone is not None, "Unable to clone volume"
|
||||||
|
|
||||||
|
# Re-connect to server to prevent timeout issues
|
||||||
|
self.server_conn = self.connect_to_instance(self.test_server)
|
||||||
|
|
||||||
# Attach clone to server(self):
|
# Attach clone to server(self):
|
||||||
self.clone_attachment = self.attach_volume_and_get_device_info(
|
self.clone_attachment = self.attach_volume_and_get_device_info(
|
||||||
self.server_conn, self.test_server.id, self.volume_clone.id_)
|
self.server_conn, self.test_server.id, self.volume_clone.id_)
|
||||||
|
|
|
@ -127,6 +127,9 @@ class VolumeSnapshotIntegrationSmokeTests(ComputeIntegrationTestFixture):
|
||||||
self.volumes.behaviors.delete_snapshot_confirmed,
|
self.volumes.behaviors.delete_snapshot_confirmed,
|
||||||
self.test_snapshot.id_)
|
self.test_snapshot.id_)
|
||||||
|
|
||||||
|
# Re-connect to server to prevent timeout issues
|
||||||
|
self.server_conn = self.connect_to_instance(self.test_server)
|
||||||
|
|
||||||
# Restore snapshot to new volume
|
# Restore snapshot to new volume
|
||||||
self.restored_snapshot_volume = \
|
self.restored_snapshot_volume = \
|
||||||
self.volumes.behaviors.create_available_volume(
|
self.volumes.behaviors.create_available_volume(
|
||||||
|
|
Loading…
Reference in New Issue