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 — Stabilize test on Windows · junit-team/junit-framework@dafaabf

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • documentation/src/test/java/example
    • TimeoutDemo.java
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎documentation/src/test/java/example/TimeoutDemo.java‎

Copy file name to clipboardExpand all lines: documentation/src/test/java/example/TimeoutDemo.java
+6-6Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ void setUp() {
2727
}
2828

2929
@Test
30-
@Timeout(value = 100, unit = TimeUnit.MILLISECONDS)
31-
void failsIfExecutionTimeExceeds100Milliseconds() {
32-
// fails if execution time exceeds 100 milliseconds
30+
@Timeout(value = 500, unit = TimeUnit.MILLISECONDS)
31+
void failsIfExecutionTimeExceeds500Milliseconds() {
32+
// fails if execution time exceeds 500 milliseconds
3333
}
3434

3535
@Test
36-
@Timeout(value = 100, unit = TimeUnit.MILLISECONDS, threadMode = ThreadMode.SEPARATE_THREAD)
37-
void failsIfExecutionTimeExceeds100MillisecondsInSeparateThread() {
38-
// fails if execution time exceeds 100 milliseconds, the test code is executed in a separate thread
36+
@Timeout(value = 500, unit = TimeUnit.MILLISECONDS, threadMode = ThreadMode.SEPARATE_THREAD)
37+
void failsIfExecutionTimeExceeds500MillisecondsInSeparateThread() {
38+
// fails if execution time exceeds 500 milliseconds, the test code is executed in a separate thread
3939
}
4040

4141
}

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.