bigswitch/mininet — pull request #9 by rombie (2012-08-07 21:25:26+00:00)
Title: BSC-2227 	  mininet tcpall result not consistent 	

BSC-2227 mininet tcpall result not consistent

Packets timeout because of short time out used in both server and client. Actually, we need to use a short timeout only at the client side. Otherwise, there is a chance server times out even before the client times out (or has a chance to send packets) due to linux scheduling.

We abort the server anyways, after the client times out (or completes) the transaction. Also have return code specific for "connect timeout" and "connect error" such as (connection refused).

addrspace/BasicTest.py now passes consistently