private boolean waitForDeploy(StreamDefinition definition, Map<String, String> properties, boolean allowIncomplete) {
		streamDeployer.deploy(definition.getName(), properties);
		State state = streamResourceStateVerifier.waitForDeploy(definition.getName(), allowIncomplete);
		if (allowIncomplete) {
		  return state.equals(State.deployed) || state.equals(State.incomplete);
		}
		return state.equals(State.deployed);
	}
Remove a {@link PathChildrenCacheListener} for the given path.

@param path the path whose children to listen to
@param listener the children listener
spring-xd-dirt/src/main/java/org/springframework/xd/dirt/test/SingleNodeIntegrationTestSupport.java