svn commit: r295116 - head/tests/sys/geom/class/gate

Garrett Cooper ngie at FreeBSD.org
Mon Feb 1 06:25:18 UTC 2016


Author: ngie
Date: Mon Feb  1 06:25:16 2016
New Revision: 295116
URL: https://svnweb.freebsd.org/changeset/base/295116

Log:
  Add an additional 1 second sleep to after calling ggatec before calling
  dd to defeat a race when writing out to the geom_gate(4) device
  
  This will quell the Jenkins failure emails until I come up with a better
  solution
  
  MFC after: 1 month
  Reported by: Jenkins
  Sponsored by: EMC / Isilon Storage Division

Modified:
  head/tests/sys/geom/class/gate/1_test.sh

Modified: head/tests/sys/geom/class/gate/1_test.sh
==============================================================================
--- head/tests/sys/geom/class/gate/1_test.sh	Mon Feb  1 03:24:38 2016	(r295115)
+++ head/tests/sys/geom/class/gate/1_test.sh	Mon Feb  1 06:25:16 2016	(r295116)
@@ -41,6 +41,7 @@ if ! ggatec create -p $port -u $us 127.0
 	echo 'Bail out!'
 	exit 1
 fi
+sleep 1
 
 dd if=/dev/${src} of=/dev/ggate${us} bs=1m count=1
 sleep 1


More information about the svn-src-head mailing list