Commit d3ba3eb7 authored by Tiberiu Breana's avatar Tiberiu Breana Committed by Tiberiu A Breana
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: Ia98cfe75a5abce9a53bc062d5c8e81cf2d1d63e4
Signed-off-by: default avatarTiberiu Breana <tiberiu.a.breana@intel.com>
parent d910cf33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment