Skip to content

Commit

Permalink
Regression fix for testBug573547 - Increased timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
SougandhS authored and jukzi committed Oct 7, 2024
1 parent 83dd8c9 commit ff99117
Showing 1 changed file with 3 additions and 2 deletions.
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
Expand All @@ -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;

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit ff99117

Please sign in to comment.