Fix tests hanging on FreeBSD/MacOS
Fix tests hanging on FreeBSD/MacOS

Change-Id: Ie99784dec344bee2744bc5102436a67f3cdccd9c
Reviewed-on: http://review.couchbase.org/77338
Tested-by: Build Bot <80754af91bfb6d1073585b046fe0a474ce868509@couchbase.com>
Reviewed-by: Mark Nunberg <dab05a0fe859c5cb93882b2a75a0d613501b07be@couchbase.com>

couchbase/libcouchbase,mody/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,couchbase/libcouchbase,kojiromike/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,kojiromike/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,avsej/libcouchbase,mody/libcouchbase,mody/libcouchbase,avsej/libcouchbase,kojiromike/libcouchbase,avsej/libcouchbase,couchbase/libcouchbase,avsej/libcouchbase,mody/libcouchbase