public boolean waitForMetric(String name) {
		return StreamUtils.waitForMetric(name, adminServer, WAIT_TIME);
	}
Wait the "waitTime" for a metric to be created.

@param name the name of metric to be evaluated.
@return true if metric is created else false.
spring-xd-integration-test/src/test/java/org/springframework/xd/integration/test/AbstractIntegrationTest.java