Commit e66872e6 authored by Yi Kong's avatar Yi Kong
Browse files

Fix OldSocketTest#test_connectLjava_net_SocketAddressI

Change 27604018 accidently changed the
test but exposed that the test itself is incorrect. The first connect
actually already throws ConnectException, since theAddress only have a
wildcard port number.

Fixed the test to use serverSocket's local socket address.

Test: OldSocketTest#test_connectLjava_net_SocketAddressI
Change-Id: I57043359469b41d67bb04fcd3ba947214f70b17f
parent e9b3abc6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment