X Tutup
Skip to content

Commit b08bf42

Browse files
committed
add flush before listing
1 parent c1dc946 commit b08bf42

File tree

1 file changed

+1
-0
lines changed
  • google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging

1 file changed

+1
-0
lines changed

google-cloud-clients/google-cloud-logging/src/test/java/com/google/cloud/logging/BaseSystemTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,7 @@ public void testWriteAndListLogEntries() throws InterruptedException {
229229
.build();
230230
logging().write(ImmutableList.of(firstEntry));
231231
logging().write(ImmutableList.of(secondEntry));
232+
logging().flush();
232233
String filter = createEqualityFilter("logName", logName);
233234
EntryListOption[] options = {EntryListOption.filter(filter), EntryListOption.pageSize(1)};
234235
Page<LogEntry> page = logging().listLogEntries(options);

0 commit comments

Comments
 (0)
X Tutup