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
This commit is contained in:
Enji Cooper 2016-02-01 06:25:16 +00:00
parent 314c683931
commit 4f70692277
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295116

View file

@ -41,6 +41,7 @@ if ! ggatec create -p $port -u $us 127.0.0.1 /dev/$work; then
echo 'Bail out!'
exit 1
fi
sleep 1
dd if=/dev/${src} of=/dev/ggate${us} bs=1m count=1
sleep 1