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 {
7373 assertThat (got ).contains ("Logged: Hello, world!" );
7474 }
7575
76- @ Test (timeout = 20000 )
76+ @ Test (timeout = 60000 )
7777 public void testWriteAndListLogs () throws Exception {
7878 // write a log entry
7979 LogEntry entry = LogEntry .newBuilder (StringPayload .of ("Hello world again" ))
@@ -87,7 +87,7 @@ public void testWriteAndListLogs() throws Exception {
8787 // Check if the log is listed yet
8888 while (bout .toString ().isEmpty ()) {
8989 ListLogs .main (TEST_WRITE_LOG );
90- Thread .sleep (1000 );
90+ Thread .sleep (5000 );
9191 }
9292 assertThat (bout .toString ().contains ("Hello world again" )).isTrue ();
9393 }
You can’t perform that action at this time.
0 commit comments