prevent data race in integration test

Signed-off-by: Steve Powell <spowell@pivotal.io>