ovn-sbctl: eliminate a spurious test case error cause
authorLance Richardson <lrichard@redhat.com>
Thu, 7 Jul 2016 21:30:01 +0000 (17:30 -0400)
committerRussell Bryant <russell@ovn.org>
Tue, 19 Jul 2016 14:26:40 +0000 (10:26 -0400)
commit247447ff964f0d1767d22f87249bae91d87a40e6
tree8a40b33b6af4c2b1bc26ef1ef4b074abe334d6b7
parent2039d25162c2035434c9dd337dd497d4e79808e4
ovn-sbctl: eliminate a spurious test case error cause

The "ovn-sbctl" test fails occasionally due to log messages
similar to these:

  jsonrpc|WARN|unix: receive error: Connection reset by peer
  reconnect|WARN|unix: connection dropped (Connection reset by peer)

Since we're already ignoring "Broken pipe" messages in this test
case, and the difference between EPIPE and ECONNRESET on send
is simply a matter of whether the peer had unconsumed data
in its receive buffer when the peer socket was closed, it should
be OK to ignore "reset by peer" logs as well.

This same type of failure has been observed in ovs-nbctl and
ovn-vtep-controller tests, so fix it there as well.

Signed-off-by: Lance Richardson <lrichard@redhat.com>
Acked-by: Ryan Moats <rmoats@us.ibm.com>
Signed-off-by: Russell Bryant <russell@ovn.org>
tests/ovn-controller-vtep.at
tests/ovn-nbctl.at
tests/ovn-sbctl.at