fix flaky test

Signed-off-by: Georg Apitz <georg@pivotallabs.com>