Fixed ssh timeout issue in long running tests
Change-Id: I6222e81804d89ccf7b1f00d22195038084396dc5
This commit is contained in:
parent
1cdfb1d38a
commit
c0e7a8c234
|
@ -40,6 +40,9 @@ class VolumeCloningIntegrationSmokeTests(ComputeIntegrationTestFixture):
|
|||
source_volid=self.test_volume.id_)
|
||||
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):
|
||||
self.clone_attachment = self.attach_volume_and_get_device_info(
|
||||
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.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
|
||||
self.restored_snapshot_volume = \
|
||||
self.volumes.behaviors.create_available_volume(
|
||||
|
|
Loading…
Reference in New Issue