agent: Don't spin CPU in the loop in this test
agent: Don't spin CPU in the loop in this test

This test would otherwise just spin fast, instead of waiting
for a result in poll() or another blocking call.

Found by Coverity.
Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

jscotka/cockpit,larskarlitski/cockpit,moraleslazaro/cockpit,vbatts/cockpit,Scribery/cockpit,Armstrong1992/cockpit,darioajr/cockpit,sgallagher/cockpit,garrett/cockpit,Thermionix/cockpit,mvollmer/cockpit,vanloswang/cockpit,jscotka/cockpit,garrett/cockpit,vbatts/cockpit,matobet/cockpit,arilivigni/cockpit,larskarlitski/cockpit,cockpituous/cockpit,sub-mod/cockpit,sub-mod/cockpit,deryni/cockpit,deryni/cockpit,michalskrivanek/cockpit,darioajr/cockpit,vbatts/cockpit,fridex/cockpit,FireDrunk/cockpit,andreasn/cockpit,sub-mod/cockpit,stefwalter/cockpit,jscotka/cockpit,matobet/cockpit,michalskrivanek/cockpit,sub-mod/cockpit,martinpitt/cockpit,garrett/cockpit,nmav/cockpit,xhad/cockpit,harishanand95/cockpit,netzvieh/cockpit,vanloswang/cockpit,deryni/cockpit,maxamillion/cockpit,nmav/cockpit,larsu/cockpit,Armstrong1992/cockpit,arilivigni/cockpit,mareklibra/cockpit,haiyangd/cockpit_view,larskarlitski/cockpit,andreasn/cockpit,kkaempf/cockpit,jscotka/cockpit,petervo/cockpit,zigitax/cockpit,arilivigni/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,maxamillion/cockpit,deryni/cockpit,SotolitoLabs/cockpit,FireDrunk/cockpit,firebitsbr/cockpit,mareklibra/cockpit,xhad/cockpit,larskarlitski/cockpit,larsu/cockpit,netzvieh/cockpit,moraleslazaro/cockpit,cockpituous/cockpit,mareklibra/cockpit,xhad/cockpit,petervo/cockpit,dperpeet/cockpit,fridex/cockpit,sgallagher/cockpit,fridex/cockpit,matobet/cockpit,haiyangd/cockpit_view,Armstrong1992/cockpit,arilivigni/cockpit,denysvitali/cockpit,SotolitoLabs/cockpit,maxamillion/cockpit,fridex/cockpit,larsu/cockpit,Thermionix/cockpit,mvollmer/cockpit,FireDrunk/cockpit,matobet/cockpit,SotolitoLabs/cockpit,evol262/cockpit,cockpit-project/cockpit,cockpit-project/cockpit,deryni/cockpit,vanloswang/cockpit,maxamillion/cockpit,zigitax/cockpit,andreasn/cockpit,haiyangd/cockpit_view,stefwalter/cockpit,mvollmer/cockpit,petervo/cockpit,xhad/cockpit,vanloswang/cockpit,moraleslazaro/cockpit,firebitsbr/cockpit,andreasn/cockpit,Scribery/cockpit,harishanand95/cockpit,moolitayer/cockpit,nmav/cockpit,arilivigni/cockpit,evol262/cockpit,garrett/cockpit,petervo/cockpit,harishanand95/cockpit,jscotka/cockpit,SotolitoLabs/cockpit,moraleslazaro/cockpit,FireDrunk/cockpit,kkaempf/cockpit,petervo/cockpit,sgallagher/cockpit,firebitsbr/cockpit,dperpeet/cockpit,Scribery/cockpit,evol262/cockpit,firebitsbr/cockpit,matobet/cockpit,cockpituous/cockpit,dperpeet/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,evol262/cockpit,mareklibra/cockpit,arilivigni/cockpit,nmav/cockpit,harishanand95/cockpit,sgallagher/cockpit,jscotka/cockpit,stefwalter/cockpit,Thermionix/cockpit,larskarlitski/cockpit,vbatts/cockpit,Scribery/cockpit,denysvitali/cockpit,cockpit-project/cockpit,larsu/cockpit,vanloswang/cockpit,moraleslazaro/cockpit,vanloswang/cockpit,stefwalter/cockpit,kkaempf/cockpit,matobet/cockpit,moolitayer/cockpit,dperpeet/cockpit,netzvieh/cockpit,larskarlitski/cockpit,dperpeet/cockpit,garrett/cockpit,denysvitali/cockpit,netzvieh/cockpit,vbatts/cockpit,sgallagher/cockpit,sub-mod/cockpit,martinpitt/cockpit,Thermionix/cockpit,xhad/cockpit,michalskrivanek/cockpit,michalskrivanek/cockpit,dperpeet/cockpit,stefwalter/cockpit,sgallagher/cockpit,haiyangd/cockpit_view,stefwalter/cockpit,petervo/cockpit,Scribery/cockpit,harishanand95/cockpit,Scribery/cockpit,dperpeet/cockpit,stefwalter/cockpit,SotolitoLabs/cockpit,xhad/cockpit,evol262/cockpit,darioajr/cockpit,mvollmer/cockpit,cockpituous/cockpit,cockpit-project/cockpit,darioajr/cockpit,fridex/cockpit,Thermionix/cockpit,cockpituous/cockpit,haiyangd/cockpit_view,zigitax/cockpit,moolitayer/cockpit,maxamillion/cockpit,deryni/cockpit,deryni/cockpit,larskarlitski/cockpit,harishanand95/cockpit,SotolitoLabs/cockpit,vanloswang/cockpit,martinpitt/cockpit,andreasn/cockpit,FireDrunk/cockpit,sgallagher/cockpit,mvollmer/cockpit,netzvieh/cockpit,kkaempf/cockpit,Scribery/cockpit,SotolitoLabs/cockpit,Armstrong1992/cockpit,martinpitt/cockpit,arilivigni/cockpit,zigitax/cockpit,mareklibra/cockpit,xhad/cockpit,cockpituous/cockpit,andreasn/cockpit,petervo/cockpit,harishanand95/cockpit,denysvitali/cockpit,denysvitali/cockpit,vbatts/cockpit,cockpit-project/cockpit,darioajr/cockpit,larsu/cockpit,nmav/cockpit,firebitsbr/cockpit,larsu/cockpit,kkaempf/cockpit,Thermionix/cockpit,evol262/cockpit,andreasn/cockpit,moolitayer/cockpit,Armstrong1992/cockpit,michalskrivanek/cockpit,netzvieh/cockpit,fridex/cockpit,moraleslazaro/cockpit,moolitayer/cockpit,zigitax/cockpit