MCPcopy Index your code
hub / github.com/OpenTSDB/opentsdb / emptyRow

Method emptyRow

test/core/TestCompactionQueue.java:133–145  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 @Test
134 public void emptyRow() throws Exception {
135 ArrayList<KeyValue> kvs = new ArrayList<KeyValue>(0);
136 ArrayList<Annotation> annotations = new ArrayList<Annotation>(0);
137 final KeyValue kv = compactionq.compact(kvs, annotations, null);
138 assertNull(kv);
139
140 // We had nothing to do so...
141 // ... verify there were no put.
142 verify(tsdb, never()).put(anyBytes(), anyBytes(), anyBytes(), anyLong());
143 // ... verify there were no delete.
144 verify(tsdb, never()).delete(anyBytes(), any(byte[][].class));
145 }
146
147 @Test
148 public void oneCellRow() throws Exception {

Callers

nothing calls this directly

Calls 4

anyBytesMethod · 0.95
putMethod · 0.80
compactMethod · 0.45
deleteMethod · 0.45

Tested by

no test coverage detected