File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
logging/cloud-client/src/test/java/com/example/logging Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public void testQuickstart() throws Exception {
73
73
assertThat (got ).contains ("Logged: Hello, world!" );
74
74
}
75
75
76
- @ Test (timeout = 20000 )
76
+ @ Test (timeout = 60000 )
77
77
public void testWriteAndListLogs () throws Exception {
78
78
// write a log entry
79
79
LogEntry entry = LogEntry .newBuilder (StringPayload .of ("Hello world again" ))
@@ -87,7 +87,7 @@ public void testWriteAndListLogs() throws Exception {
87
87
// Check if the log is listed yet
88
88
while (bout .toString ().isEmpty ()) {
89
89
ListLogs .main (TEST_WRITE_LOG );
90
- Thread .sleep (1000 );
90
+ Thread .sleep (5000 );
91
91
}
92
92
assertThat (bout .toString ().contains ("Hello world again" )).isTrue ();
93
93
}
You can’t perform that action at this time.
0 commit comments