-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Regression fix for testBug573547 - Increased timeout
- Loading branch information
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/******************************************************************************* | ||
* Copyright (c) 2017 Andrey Loskutov and others. | ||
* Copyright (c) 2017, 2024 Andrey Loskutov and others. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
|
@@ -10,6 +10,7 @@ | |
* | ||
* Contributors: | ||
* Andrey Loskutov <[email protected]> - initial API and implementation | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ | ||
package org.eclipse.jdt.debug.tests.ui; | ||
|
||
|
@@ -1469,7 +1470,7 @@ private void selectFrame(CompilationUnitEditor editor, IStackFrame frame) throws | |
int initialLineNumber = sync(() -> ((ITextSelection) editor.getSelectionProvider().getSelection()).getStartLine()); | ||
assertNotEquals("selectFrame cannot detect when it has" | ||
+ "completed because selecting frame doesn't change the line number.", initialLineNumber, targetLineNumber); | ||
final int timeoutms = 1000; | ||
final int timeoutms = 10000; | ||
int selectedLineNumer = sync(() -> { | ||
int lineNumber; | ||
long endtime = System.currentTimeMillis() + timeoutms; | ||
|