Skip to content

Commit b234390

Browse files
committed
Increase SWTBot timeout from 5s to 30s
On slower systems, the widgets might not show up in time, leading to sporadic test failures.
1 parent 42c3f33 commit b234390

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

org.eclipse.wb.tests/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<packaging>eclipse-test-plugin</packaging>
2323

2424
<properties>
25-
<uitest.vmparams>-Dwbp.burningwave.enabled=false</uitest.vmparams>
25+
<uitest.vmparams>-Dwbp.burningwave.enabled=false -Dorg.eclipse.swtbot.search.timeout=30000</uitest.vmparams>
2626
</properties>
2727

2828
<profiles>

org.eclipse.wb.tests/src/org/eclipse/wb/tests/designer/tests/DesignerTestCase.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ public boolean test() throws Exception {
506506
public String getFailureMessage() {
507507
return "\"Open type\" dialog took too long to find types.";
508508
}
509-
}, 30000);
509+
});
510510
}
511511
shell.button(buttonName).click();
512512
}

0 commit comments

Comments
 (0)