Fix validate_ssh_client 73/39273/1
authorAlex Yang <yangyang1@zte.com.cn>
Mon, 14 Aug 2017 15:47:37 +0000 (23:47 +0800)
committerAlex Yang <yangyang1@zte.com.cn>
Mon, 14 Aug 2017 15:47:37 +0000 (23:47 +0800)
commitacc4428e76422ad5c60f5433f325258214e6bc3b
tree386e8a88340431f038f9d9abb7e622819c2b896a
parent9c023d8d1c85650b33e6375d58cd1b45c8d0d395
Fix validate_ssh_client

After the "try..finally.." statement is executed, the ssh_client is
closed by the "finally" statement. So the out.channel.in_buffer is
not readable and the testcases failed.

Change-Id: I3fbf620cb9ccee62c515b83fed9fd01238ad3262
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
snaps/openstack/tests/create_instance_tests.py