Skip to content

Commit

Permalink
Increased logging timeout.
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtisvg committed Nov 13, 2017
1 parent 89549fa commit f663975
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void testQuickstart() throws Exception {
assertThat(got).contains("Logged: Hello, world!");
}

@Test(timeout = 20000)
@Test(timeout = 60000)
public void testWriteAndListLogs() throws Exception {
// write a log entry
LogEntry entry = LogEntry.newBuilder(StringPayload.of("Hello world again"))
Expand All @@ -87,7 +87,7 @@ public void testWriteAndListLogs() throws Exception {
// Check if the log is listed yet
while (bout.toString().isEmpty()) {
ListLogs.main(TEST_WRITE_LOG);
Thread.sleep(1000);
Thread.sleep(5000);
}
assertThat(bout.toString().contains("Hello world again")).isTrue();
}
Expand Down

0 comments on commit f663975

Please sign in to comment.