Occasionally, SSH will get wedged so that a connection attempt is stuck
forever. When this happens, we need Tempest to abort the attempt and try
again. Currently, the individual connection timeout is set to the
overall timeout, so there will only ever be one attempt if this happens.
Using the channel_timeout instead will ensure that multiple connection
attempts are made even when the connection is wedged.
Reviewed: https:/ /review. openstack. org/58765 github. com/openstack/ tempest/ commit/ b20cf3a30d42ed2 ce0c34e338edf49 8258dfd721
Committed: http://
Submitter: Jenkins
Branch: master
commit b20cf3a30d42ed2 ce0c34e338edf49 8258dfd721
Author: Soren Hansen <email address hidden>
Date: Wed Nov 27 14:39:28 2013 +0100
Use channel_timeout for SSH connection timeout
Occasionally, SSH will get wedged so that a connection attempt is stuck
forever. When this happens, we need Tempest to abort the attempt and try
again. Currently, the individual connection timeout is set to the
overall timeout, so there will only ever be one attempt if this happens.
Using the channel_timeout instead will ensure that multiple connection
attempts are made even when the connection is wedged.
Fixes bug 1236524
Change-Id: Ie8dff41780bbf0 04cff5c880db202 a8ae23a85c1