add explicit delays to allow Xvfb time to stablize

This commit is contained in:
Stephen Gaito 2020-06-22 23:08:56 +01:00
parent 4d95701ffa
commit 21bb84c5da
1 changed files with 6 additions and 0 deletions

View File

@ -18,6 +18,9 @@ ps -ef | grep -v grep | grep Xvfb
echo "-----------------------------------------------------------" echo "-----------------------------------------------------------"
echo "" echo ""
# add an explicit delay to allow Xvfb to stablize
sleep 2
# Now we tell the test drivers about this display # Now we tell the test drivers about this display
# (Note: you MUST not specify the host!) # (Note: you MUST not specify the host!)
# #
@ -35,6 +38,9 @@ export returnCode=$?
echo "-----------------------------------------------------------" echo "-----------------------------------------------------------"
echo "" echo ""
# add an explicit delay to allow Xvfb to stablize
sleep 2
# Now we shutdown the virtual frame buffer # Now we shutdown the virtual frame buffer
# #
/sbin/start-stop-daemon \ /sbin/start-stop-daemon \