@Test
	public void updateContainerAttributes() {
		Container foundContainer = containerRepository.findOne(id);
		assertNotNull(foundContainer);
		ContainerAttributes containerAttributes = new ContainerAttributes(id).setPid(12345).setHost("randomHost").setIp(
				"randomIP");
		containerAttributes.put("groups", "test1,test2");
		Container entity = new Container(id, containerAttributes);
		containerRepository.update(entity);
		assertSavedContainer(id, containerAttributes);
	}
Check if the container attributes equal.

@param attr1 container attributes
@param attr2 container attributes
@return true if the container attributes match
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/listener/ZooKeeperContainerRepositoryTests.java