b0472ac853
There is a sleep in a test to allow a socket close to propagate through the kernel stack. This is only required on FreeBSD, so limit it's use to FreeBSD. This results in slightly faster unit test run times on Linux. Change-Id: I495d8b91e7247d0757650c4993d18f707c524a22 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/475312 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>