Skip to content

Commit 8fe20df

Browse files
committed
Fix flaky test QuickAccessComputerTest.testQuickAccessComputer
Increased timeout from 2000ms to 5000ms to avoid intermittent failures on slower CI systems. Added assertion message for better debugging.
1 parent ed45ed2 commit 8fe20df

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/org.eclipse.text.quicksearch.tests/src/org/eclipse/text/quicksearch/tests/QuickAccessComputerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ void testQuickAccessComputer() throws CoreException, IOException {
5555
dialog.setBlockOnOpen(false);
5656
dialog.open();
5757
var display = dialog.getShell().getDisplay();
58-
assertTrue(DisplayHelper.waitForCondition(display, 2000, () -> dialog.getResult().length > 0));
58+
assertTrue(DisplayHelper.waitForCondition(display, 5000, () -> dialog.getResult().length > 0), "QuickSearchDialog failed to find results within timeout");
5959
dialog.close();
6060

6161
// Wait for the QuickAccessComputer to return results, as the search happens asynchronously.

0 commit comments

Comments
 (0)