Skip to content

Commit 97df07f

Browse files
committed
Fix test
1 parent 3caa96d commit 97df07f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/influxdb/impl/BatchProcessorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ public void precision() throws Exception {
203203

204204
ArgumentCaptor<Collection<BatchPoints>> argument = ArgumentCaptor.forClass(Collection.class);
205205

206-
verify(batchWriter, times(2)).write(argument.capture());
206+
verify(batchWriter, atLeastOnce()).write(argument.capture());
207207

208208
for (Collection<BatchPoints> list : argument.getAllValues()) {
209209
for (BatchPoints p : list) {

0 commit comments

Comments
 (0)