fix race in integration test

Signed-off-by: Alex Suraci <asuraci@pivotallabs.com>