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 — extend timeout (#5702) · mithenks/java-docs-samples@ac0f479

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • unittests/src/test/java/com/google/appengine/samples
    • DeferredTaskTest.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎unittests/src/test/java/com/google/appengine/samples/DeferredTaskTest.java‎

Copy file name to clipboardExpand all lines: unittests/src/test/java/com/google/appengine/samples/DeferredTaskTest.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,12 @@
2828
import java.util.concurrent.TimeUnit;
2929
import org.junit.After;
3030
import org.junit.Before;
31+
import org.junit.Rule;
3132
import org.junit.Test;
33+
import org.junit.rules.Timeout;
3234

33-
public class DeferredTaskTest extends BaseTestConfiguration {
35+
public class DeferredTaskTest {
36+
@Rule public Timeout testTimeout = new Timeout(10, TimeUnit.MINUTES);
3437

3538
// Unlike CountDownLatch, TaskCountDownlatch lets us reset.
3639
private static final LocalTaskQueueTestConfig.TaskCountDownLatch latch =

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.