test: Fix controller restart test
test: Fix controller restart test

The test assumed the controller formation would always have 2 processes.
This fixes the test by interogating the current formation before
initiating the restart process.

Signed-off-by: Joseph Glanville <461476587780aa9fa5611ea6dc3912c146a91760@reinteractive.net>

whouses/flynn,lmars/flynn,shads196770/flynn,schatt/flynn,whouses/flynn,shads196770/flynn,josephglanville/flynn,justintung/flynn,supermario/flynn,whouses/flynn,josephglanville/flynn,rikur/flynn,pkdevbox/flynn,pkdevbox/flynn,flynn/flynn,clifff/flynn,justintung/flynn,benbjohnson/flynn,josephglanville/flynn,jzila/flynn,whouses/flynn,clifff/flynn,clifff/flynn,philiplb/flynn,shads196770/flynn,benbjohnson/flynn,benbjohnson/flynn,pkdevbox/flynn,whouses/flynn,schatt/flynn,benbjohnson/flynn,rikur/flynn,flynn/flynn,schatt/flynn,philiplb/flynn,TribeMedia/flynn,lmars/flynn,philiplb/flynn,lmars/flynn,supermario/flynn,supermario/flynn,TribeMedia/flynn,schatt/flynn,TribeMedia/flynn,shads196770/flynn,TribeMedia/flynn,philiplb/flynn,justintung/flynn,pkdevbox/flynn,flynn/flynn,josephglanville/flynn,rikur/flynn,flynn/flynn,flynn/flynn,shads196770/flynn,pkdevbox/flynn,clifff/flynn,supermario/flynn,justintung/flynn,lmars/flynn,jzila/flynn,schatt/flynn,pkdevbox/flynn,rikur/flynn,josephglanville/flynn,benbjohnson/flynn,jzila/flynn,justintung/flynn,supermario/flynn,josephglanville/flynn,rikur/flynn,rikur/flynn,whouses/flynn,jzila/flynn,supermario/flynn,clifff/flynn,TribeMedia/flynn,lmars/flynn,philiplb/flynn,shads196770/flynn,benbjohnson/flynn,schatt/flynn,jzila/flynn,TribeMedia/flynn,jzila/flynn,clifff/flynn,justintung/flynn