Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
asashour committed Feb 1, 2019
1 parent 3caa96d commit 97df07f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/org/influxdb/impl/BatchProcessorTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ public void precision() throws Exception {

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

verify(batchWriter, times(2)).write(argument.capture());
verify(batchWriter, atLeastOnce()).write(argument.capture());

for (Collection<BatchPoints> list : argument.getAllValues()) {
for (BatchPoints p : list) {
Expand Down

0 comments on commit 97df07f

Please sign in to comment.