tests: Wait 5s for init to respond in lxc-test-autostart
tests: Wait 5s for init to respond in lxc-test-autostart

lxc-test-autostart occasionaly fails at the restart test in the CI
environment. Looking at the current test case, the most obvious race
there is if lxc-wait exists succesfuly immediately after LXC marked the
container RUNNING (init spawned) but before init had a chance to setup
the signal handlers.

To avoid this potential race period, let's add a 5s delay between the
tests to give a chance for init to finish starting up.

Signed-off-by: Stéphane Graber <089afc6d81f66f1168a9849e15660feae286e024@ubuntu.com>
Acked-by: Serge E. Hallyn <3df611b026e4639bee8aef7a4beb2e39fcebb313@ubuntu.com>

ioops/lxc,yubo/lxc,cjwatson/lxc,rowhit/lxc,rldleblanc/lxc,hallyn/lxc,armcc/lxc,DarknessBeforeDawn/lxc,regit/lxc,lazy404/lxc,hallyn/lxc,ss1h2a3tw/lxc,raspberrypython/lxc,bmoar/lxc,ss1h2a3tw/lxc,cjwatson/lxc,efiop/lxc,thmo/lxc,JohnPeacockMessageSystems/lxc,hallyn/lxc,hfuCN/lxc,szaszg/lxc,virajs/lxc,christiaan/lxc,akshaykarle/lxc,aeris/lxc,lisongmin/lxc,raspberrypython/lxc,QingweiPeterLan/cs188-lxc,christiaan/lxc,DarknessBeforeDawn/lxc,weizhenwei/lxc,Ponce/lxc,sapun/lxc,ysbnim/lxc,LynxChaus/lxc,lazy404/lxc,bostjan/lxc,terceiro/lxc,rldleblanc/lxc,Ponce/lxc,federicobriata/lxc,sapun/lxc,codebauss/lxc,armcc/lxc,ksperis/lxc,caglar10ur/lxc,hkjolhede/lxc,jirislaby/lxc,jirislaby/lxc,bmoar/lxc,weizhenwei/lxc,JohnPeacockMessageSystems/lxc,codebauss/lxc,raspberrypython/lxc,weizhenwei/lxc,virajs/lxc,codebauss/lxc,caglar10ur/lxc,akshaykarle/lxc,major/lxc,DarknessBeforeDawn/lxc,ecarrara/lxc,rowhit/lxc,fwilson42/lxc,Distrotech/lxc,ysbnim/lxc,LynxChaus/lxc,lisongmin/lxc,GreatFruitOmsk/lxc,ecarrara/lxc,aeris/lxc,virajs/lxc,hfuCN/lxc,regit/lxc,tych0/lxc,armcc/lxc,Distrotech/lxc,ecarrara/lxc,sapun/lxc,efiop/lxc,yubo/lxc,akshaykarle/lxc,fwilson42/lxc,terceiro/lxc,ss1h2a3tw/lxc,aeris/lxc,GreatFruitOmsk/lxc,federicobriata/lxc,major/lxc,bmoar/lxc,rldleblanc/lxc,ksperis/lxc,szaszg/lxc,thmo/lxc,federicobriata/lxc,terceiro/lxc,caglar10ur/lxc,tych0/lxc,cjwatson/lxc,szaszg/lxc,LynxChaus/lxc,tych0/lxc,major/lxc,QingweiPeterLan/cs188-lxc,lazy404/lxc,thmo/lxc,ksperis/lxc,hkjolhede/lxc,GreatFruitOmsk/lxc,Pelagicore/lxc,Distrotech/lxc,fwilson42/lxc,Pelagicore/lxc,hfuCN/lxc,ioops/lxc,Ponce/lxc,efiop/lxc,regit/lxc,bostjan/lxc,yubo/lxc,christiaan/lxc,Pelagicore/lxc,hkjolhede/lxc,jirislaby/lxc,lisongmin/lxc,bostjan/lxc,ioops/lxc,JohnPeacockMessageSystems/lxc,ysbnim/lxc,QingweiPeterLan/cs188-lxc,rowhit/lxc