wait for component to be listening in test
wait for component to be listening in test

[#86732122]

Signed-off-by: Atul Kshirsagar <80db663a825ead6639a4b6bb3a323b92d8ba5f9a@gmail.com>

cloudfoundry-incubator/metricz