final byte[] qual56 = MockBase.concatByteArrays(qual5, qual6);
kvs.add(makekv(qual12, MockBase.concatByteArrays(val1, val2, ZERO)));
kvs.add(makekv(qual34, MockBase.concatByteArrays(val3, val4, ZERO)));
kvs.add(makekv(qual56, MockBase.concatByteArrays(val5, val6, ZERO)));
final KeyValue kv = compactionq.compact(kvs, annotations);
assertArrayEquals(
MockBase.concatByteArrays(qual12, qual34, qual56), kv.qualifier());
assertArrayEquals(
MockBase.concatByteArrays(val1, val2, val3, val4, val5, val6, ZERO),
kv.value());
// We didn't have anything to write, the last cell is already the correct
// compacted version of the row.
verify(tsdb, times(1)).put(KEY,
MockBase.concatByteArrays(qual1, qual2, qual3, qual4, qual5, qual6),