Skip to content

Commit

Permalink
fixed eclipse tests freezes
Browse files Browse the repository at this point in the history
increased swt bot wait time of tests
  • Loading branch information
jan-vcapgemini committed Mar 17, 2023
1 parent a53b75d commit 485d5a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public void testBasicOpenAPIGeneration() throws Exception {
// execute CobiGen
EclipseCobiGenUtils.processCobiGenAndPostponeUpgrade(bot, javaClassItem, "CRUD REST services");
// increase timeout as the openAPI parser is slow on initialization
EclipseCobiGenUtils.confirmSuccessfullGeneration(bot, 40000);
EclipseCobiGenUtils.confirmSuccessfullGeneration(bot, 120000);

// check assertions
bot.waitUntil(new AllJobsAreFinished(), 10000);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public static void processCobiGenWithTextInput(SWTWorkbenchBot bot, SWTBotEclips
bot.waitUntil(new AllJobsAreFinished(), defaultTimeout); // build might take some time
input.contextMenu("CobiGen").menu("Generate...").click();
postponeUpgradeAndContinue(bot);
generateWithSelectedIncrements(bot, defaultTimeout, increments);
generateWithSelectedIncrements(bot, 120000, increments);
}

/**
Expand Down Expand Up @@ -216,7 +216,7 @@ private static void processCobiGenAndPostponeUpgrade(SWTWorkbenchBot bot, SWTBot
bot.waitUntil(new AllJobsAreFinished(), defaultTimeout); // build might take some time
input.contextMenu("CobiGen").menu("Generate...").click();
postponeUpgradeAndContinue(bot);
generateWithSelectedIncrements(bot, defaultTimeout, increments);
generateWithSelectedIncrements(bot, 120000, increments);
}

/**
Expand Down

0 comments on commit 485d5a4

Please sign in to comment.