Commit b66e876c authored by Tiberiu Breana's avatar Tiberiu Breana Committed by Mihai Serban
Browse files

Add exceptions for test_connectLjava_net_SocketAddressI



OldSocketTest's test_connectLjava_net_SocketAddressI would sometimes
fail on certain networks. The connection attempt to the 'non-reachable' IP
 would be reset by a local router before the expected
timeout occured, thus causing the test to fail.

This change adds additional catch clauses for cases like this,
looking for ECONNREFUSED messages.

Bug: 18143878

Change-Id: I99a500d5c95cc25aa52ef231e6de43233f3e5316
Signed-off-by: default avatarTiberiu Breana <tiberiu.a.breana@intel.com>
(cherry picked from commit d3ba3eb7)
parent 27ef0eb2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment