Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2016 06:25:16 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r295116 - head/tests/sys/geom/class/gate
Message-ID:  <201602010625.u116PGe7063763@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602010625.u116PGe7063763>