Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormwenz2015-05-29 13:06:01 +0000
committermwenz2015-05-29 13:06:01 +0000
commit59e98f1caf7af6049d595bc6ec87931d96206fd5 (patch)
tree86ffa4f1061d70eff7fdfea6d666c4b3f7f13552
parent5f7cc915e145d1db2e44e711f11fbbff2d3b8e6d (diff)
downloadorg.eclipse.graphiti-59e98f1caf7af6049d595bc6ec87931d96206fd5.tar.gz
org.eclipse.graphiti-59e98f1caf7af6049d595bc6ec87931d96206fd5.tar.xz
org.eclipse.graphiti-59e98f1caf7af6049d595bc6ec87931d96206fd5.zip
Fix test issue in project wizard (needs more time)
-rw-r--r--tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/PluginWizardTests.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/PluginWizardTests.java b/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/PluginWizardTests.java
index 758607ee..4c888573 100644
--- a/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/PluginWizardTests.java
+++ b/tests/org.eclipse.graphiti.bot.tests/src/org/eclipse/graphiti/bot/tests/PluginWizardTests.java
@@ -94,9 +94,14 @@ public class PluginWizardTests extends AbstractGFTests {
shell.activate();
bot.button("Yes").click();
- Thread.sleep(1000);
+ Thread.sleep(2000);
newProject = ResourcesPlugin.getWorkspace().getRoot().getProject("org.eclipse.graphiti.test1");
+ int counter = 0;
+ while (!newProject.exists() && counter < 20) {
+ counter++;
+ Thread.sleep(1000);
+ }
assertTrue(newProject.exists());
// Check problems view for any errors

Back to the top