assertEquals("web01", leaf.getTags().get("host"));
}
@Test (expected = NoSuchUniqueId.class)
public void parseFromStorageNSUMetric() throws Throwable {
final KeyValue column = mock(KeyValue.class);
when(column.qualifier()).thenReturn(
new Leaf("0", "000002000001000001").columnQualifier());
when(column.value()).thenReturn(
("{\"displayName\":\"0\",\"tsuid\":\"000002000001000001\"}")
.getBytes(MockBase.ASCII()));
try {
Leaf.parseFromStorage(tsdb, column, true).joinUninterruptibly();
} catch (DeferredGroupException e) {