tempest/tempest/lib/common
Lucas Alvares Gomes 68c197e890 SSH: Do not rely on the .closed attribute
This patch is updating the logic in the SSH module to not rely on the
"closed" attribute of the channel object when polling the data. The
"closed" attribute may not set to True as part of the exec_command()
execution stack and in that case would cause the exec_command() (from
the tempest SSH module) to hang.

This patch also uses the context manager when creating the channel so
it gets properly closed at the end of the execution scope.

Closes-Bug: #1571492
Change-Id: I5169faf25c36cfb494c9c1fafb14fb4f7f82cd9e
2016-04-20 09:26:06 +01:00
..
utils Migrate tempest-lib code into new lib dir 2016-02-23 14:15:04 -05:00
__init__.py Migrate tempest-lib code into new lib dir 2016-02-23 14:15:04 -05:00
api_version_request.py Migrated microversion testing framework to tempest/lib 2016-03-11 08:17:15 +00:00
api_version_utils.py Trivial: Fix some document comments in microversion 2016-03-17 02:44:45 +00:00
http.py Get rid of httplib2, use urllib3 instead 2016-04-12 16:09:10 +02:00
rest_client.py Update extra_headers param docstring 2016-04-10 17:20:20 +00:00
ssh.py SSH: Do not rely on the .closed attribute 2016-04-20 09:26:06 +01:00