summaryrefslogtreecommitdiffstats
path: root/tests/sys/geom
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2016-02-01 06:25:16 +0000
committerngie <ngie@FreeBSD.org>2016-02-01 06:25:16 +0000
commit45e2a376b1471c34b1b1cf6baca356b4d8018588 (patch)
tree4b298eee557aaf0ea3bec39725b92972fefaeb47 /tests/sys/geom
parentbf546063c06c3709a08ff56f1ef56cff22865853 (diff)
downloadFreeBSD-src-45e2a376b1471c34b1b1cf6baca356b4d8018588.zip
FreeBSD-src-45e2a376b1471c34b1b1cf6baca356b4d8018588.tar.gz
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
Diffstat (limited to 'tests/sys/geom')
-rw-r--r--tests/sys/geom/class/gate/1_test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sys/geom/class/gate/1_test.sh b/tests/sys/geom/class/gate/1_test.sh
index 3e27734..9b2cf69 100644
--- a/tests/sys/geom/class/gate/1_test.sh
+++ b/tests/sys/geom/class/gate/1_test.sh
@@ -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
OpenPOWER on IntegriCloud