We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89549fa commit f663975Copy full SHA for f663975
logging/cloud-client/src/test/java/com/example/logging/LoggingIT.java
@@ -73,7 +73,7 @@ public void testQuickstart() throws Exception {
73
assertThat(got).contains("Logged: Hello, world!");
74
}
75
76
- @Test(timeout = 20000)
+ @Test(timeout = 60000)
77
public void testWriteAndListLogs() throws Exception {
78
// write a log entry
79
LogEntry entry = LogEntry.newBuilder(StringPayload.of("Hello world again"))
@@ -87,7 +87,7 @@ public void testWriteAndListLogs() throws Exception {
87
// Check if the log is listed yet
88
while (bout.toString().isEmpty()) {
89
ListLogs.main(TEST_WRITE_LOG);
90
- Thread.sleep(1000);
+ Thread.sleep(5000);
91
92
assertThat(bout.toString().contains("Hello world again")).isTrue();
93
0 commit comments