Skip to content

Commit

Permalink
add flush before listing
Browse files Browse the repository at this point in the history
  • Loading branch information
ajaaym committed Dec 28, 2018
1 parent aeadc04 commit bab0ba1
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@ public void testWriteAndListLogEntries() throws InterruptedException {
.build();
logging().write(ImmutableList.of(firstEntry));
logging().write(ImmutableList.of(secondEntry));
logging().flush();
String filter = createEqualityFilter("logName", logName);
EntryListOption[] options = {EntryListOption.filter(filter), EntryListOption.pageSize(1)};
Page<LogEntry> page = logging().listLogEntries(options);
Expand Down

0 comments on commit bab0ba1

Please sign in to comment.