GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Increased logging timeout. · andyunique/java-docs-samples@f663975

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • logging/cloud-client/src/test/java/com/example/logging
    • LoggingIT.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎logging/cloud-client/src/test/java/com/example/logging/LoggingIT.java‎

Copy file name to clipboardExpand all lines: logging/cloud-client/src/test/java/com/example/logging/LoggingIT.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.