Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 102 by [email protected]: "close connection" keyword won't
remove current connection instance from connectioncache._connections list
http://code.google.com/p/robotframework-sshlibrary/issues/detail?id=102
In SSHLibrary.library.py, The "close_connection()" method invokes "close()"
method provided by sshclient instance without updating information kept
in "_connections" attirbute of robot.utils.ConnectionCache class.
Reproduce steps:
1. initiate a ssh connection with alias "SUT" as current connection:
|open connection| host | alias=SUT |
2. close this connection
|close connection|
3. try to get connection with this alias
|${index}= |get connection| SUT |
4. The closed connection can be fetched and operations afterwards will fail
| switch connection| SUT|
AttributeError: 'NoneType' object has no attribute 'open_sftp_client'
include the following information:
- SSHLibrary version : 2.0.1
- Used interpreter (Python/Jython) and its version: python 2.7.3
- Operating system : Win7
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
---
You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.