OSDN Git Service

Make the bytecode tests a bit more robust.
authorLorenzo Colitti <lorenzo@google.com>
Tue, 16 Feb 2016 16:05:54 +0000 (01:05 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Tue, 16 Feb 2016 16:08:39 +0000 (01:08 +0900)
commit502ceb5ec1e40e65aee8d6acdabd6ae6ec660aef
treeae035e46d6a8965a28928f0fb46eaa9ac964ebf6
parent574fa73aa3d947b87a20c06cb39cd57ac01fe08f
Make the bytecode tests a bit more robust.

They used to require that there were no TCP sockets on the system
at all. Now they only require that there be no established
sockets. Not a huge improvement, but it does make it possible to
write tests that leave-non established sockets around after they
terminate.

Change-Id: Ied6f5aae3b6cf4a5bd25aa4fbeac637010e1f0e8
tests/net_test/sock_diag.py
tests/net_test/sock_diag_test.py