Skip to content

Commit 41b9db3

Browse files
committed
Increase timeout for DisplayAccess await in RCPTestWorkbenchAdvisor
Increased the timeout for displayAccessLatch.await in RCPTestWorkbenchAdvisor#postStartup from 5 to 10 seconds. This is to further reduce potential flakiness in tests, especially on slower systems, where UI thread operations might take longer to complete.
1 parent 94ccde6 commit 41b9db3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/RCPTestWorkbenchAdvisor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public void postStartup() {
220220
try {
221221
// Wait up to 5 seconds for operations with DisplayAccess to complete
222222
// This ensures they execute BEFORE we mark started = true
223-
boolean completed = displayAccessLatch.await(5, TimeUnit.SECONDS);
223+
boolean completed = displayAccessLatch.await(10, TimeUnit.SECONDS);
224224
if (!completed) {
225225
System.err.println("WARNING: Timeout waiting for async/sync operations with DisplayAccess");
226226
}

0 commit comments

Comments
 (0)