jujud: more robust test
jujud: more robust test

TestHostUnits was sometimes panicing with a nil state pointer in
waitDeployedUnits; now it shouldn't.

R=rog, dimitern
CC=
https://codereview.appspot.com/7094043

dooferlad/juju,gabriel-samfira/juju,tasdomas/juju,marcmolla/juju,ericsnowcurrently/juju,marcmolla/juju,AdamIsrael/juju,mikemccracken/juju,mattyw/juju,mhilton/juju,dimitern/juju,reedobrien/juju,reedobrien/juju,reedobrien/store,sinzui/juju,fwereade/juju,reedobrien/juju,cherylj/juju,cherylj/juju,fwereade/juju,mikemccracken/juju,marcmolla/juju,reedobrien/juju,macgreagoir/juju,bogdanteleaga/juju,macgreagoir/juju,tsakas/juju,anastasiamac/juju,axw/juju,macgreagoir/juju,bogdanteleaga/juju,bogdanteleaga/juju,axw/juju,mattyw/juju,howbazaar/juju,frobware/juju,alesstimec/juju,bz2/juju,cmars/juju,frankban/juju-tmp,rogpeppe/juju,bac/juju,mjs/juju,reedobrien/juju,frankban/juju,sinzui/juju,kat-co/juju,mjs/juju,kat-co/juju,makyo/juju,mattyw/juju,Altoros/juju-vmware,frankban/juju-tmp,voidspace/juju,fwereade/juju,frankban/juju,cmars/juju,waigani/juju,ericsnowcurrently/juju,bz2/juju,cloud-green/juju,cloud-green/juju,Altoros/juju-vmware,gabriel-samfira/juju,frobware/juju,mikemccracken/juju,dooferlad/juju,axw/juju,makyo/juju,sinzui/juju,Altoros/juju-cloudsigma,macgreagoir/juju,AdamIsrael/juju,frankban/juju,frobware/juju,voidspace/juju,bac/juju,AdamIsrael/juju,jrwren/juju,marcmolla/juju,davecheney/juju,tasdomas/juju,dooferlad/juju,makyo/juju,mhilton/juju,mjs/juju,mattyw/juju,marcoceppi/juju,tsakas/juju,tasdomas/juju,howbazaar/juju,voidspace/juju,alesstimec/juju,ericsnowcurrently/juju,Altoros/juju-vmware,AdamIsrael/juju,howbazaar/juju,mikemccracken/juju,cloud-green/juju,mhilton/juju-juju,cherylj/juju,anastasiamac/juju,Altoros/juju-cloudsigma,dimitern/juju,kat-co/juju,gabriel-samfira/juju,tych0/juju,perrito666/juju,bogdanteleaga/juju,macgreagoir/juju,alesstimec/juju,frankban/juju,perrito666/juju,tasdomas/juju,voidspace/juju,perrito666/juju,thomnico/juju,bac/juju,dimitern/juju,jrwren/juju,cloud-green/juju,marcmolla/juju,thomnico/juju,cmars/juju,dimitern/juju,waigani/juju,kat-co/juju,mjs/juju,frankban/juju,marcoceppi/juju,mikemccracken/juju,ericsnowcurrently/juju,bac/juju,sinzui/juju,dimitern/juju,tych0/juju,perrito666/juju,ericsnowcurrently/juju,kat-co/juju,tych0/juju,mjs/juju,mhilton/juju,mjs/juju,bz2/juju,wwitzel3/juju,davecheney/juju,mhilton/juju-juju,anastasiamac/juju,mjs/juju,gabriel-samfira/juju,dooferlad/juju,cherylj/juju,tsakas/juju,tsakas/juju,anastasiamac/juju,perrito666/juju,wwitzel3/juju,bac/juju,thomnico/juju,bz2/juju,fwereade/juju,mhilton/juju-juju,wwitzel3/juju,anastasiamac/juju,bz2/juju,Altoros/juju-cloudsigma,axw/juju,davecheney/juju,davecheney/juju,rogpeppe/juju,mhilton/juju,wwitzel3/juju,gabriel-samfira/juju,howbazaar/juju,rogpeppe/juju,howbazaar/juju,dooferlad/juju,frankban/juju-tmp,thomnico/juju,tych0/juju,waigani/juju,Altoros/juju-cloudsigma,alesstimec/juju,frankban/juju-tmp,makyo/juju,Altoros/juju-vmware,waigani/juju,alesstimec/juju,jrwren/juju,axw/juju,marcoceppi/juju,marcoceppi/juju,cmars/juju,mhilton/juju-juju