diff --git a/src/test/java/org/influxdb/impl/BatchProcessorTest.java b/src/test/java/org/influxdb/impl/BatchProcessorTest.java index 75e8f5af7..df49d8782 100644 --- a/src/test/java/org/influxdb/impl/BatchProcessorTest.java +++ b/src/test/java/org/influxdb/impl/BatchProcessorTest.java @@ -203,7 +203,7 @@ public void precision() throws Exception { ArgumentCaptor> argument = ArgumentCaptor.forClass(Collection.class); - verify(batchWriter, times(2)).write(argument.capture()); + verify(batchWriter, atLeastOnce()).write(argument.capture()); for (Collection list : argument.getAllValues()) { for (BatchPoints p : list) {