* Stop silencing exceptions in raw socket context manager
* Correctly handle receiving packages with odd size and too small ones
* Fix a unit test that was testing nothing due to bad mocking
Change-Id: Ic8626d10618f52d50667d2698f34a92f5dcac33e
Closes-Bug: #1640238
(cherry picked from commit b864a8c5663172f3f655b0360c007b1b02537876)
Reviewed: https:/ /review. openstack. org/396043 /git.openstack. org/cgit/ openstack/ ironic- python- agent/commit/ ?id=e7c8acca4c3 3fb062fdeca9b2d 8cf23f8c502334
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit e7c8acca4c33fb0 62fdeca9b2d8cf2 3f8c502334
Author: Dmitry Tantsur <email address hidden>
Date: Wed Nov 9 15:02:54 2016 +0100
Fix several errors in LLDP handling code
* Stop silencing exceptions in raw socket context manager
* Correctly handle receiving packages with odd size and too small ones
* Fix a unit test that was testing nothing due to bad mocking
Change-Id: Ic8626d10618f52 d50667d2698f34a 92f5dcac33e 3f655b0360c007b 1b02537876)
Closes-Bug: #1640238
(cherry picked from commit b864a8c5663172f