Revert "enhance recv calls in network_cli (#47345)" (#47731)

This reverts commit c649d0ea32.

The change results in deadlock in network_cli while it is
waiting to check the return value of recv_ready() which
was added in this commit to improve performance
This commit is contained in:
Ganesh Nalawade 2018-10-29 09:50:30 +05:30 committed by GitHub
parent 9cfa55619b
commit 17fea30841
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 16 deletions

View file

@ -126,8 +126,6 @@ class TestConnectionClass(unittest.TestCase):
mock__shell = MagicMock()
conn._ssh_shell = mock__shell
conn._ssh_shell.recv_ready.return_value = True
conn._ssh_shell.gettimeout.return_value = 10
response = b"""device#command
command response