Skip to content

Commit

Permalink
Insert delays into TestActivities#test210
Browse files Browse the repository at this point in the history
This could fix occasional failures of this test. See MID-8684.
  • Loading branch information
mederly committed Oct 17, 2023
1 parent d073c03 commit 8addbbe
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1761,6 +1761,7 @@ public void test210SuspendingCompositeWithSubtasks() throws Exception {
when("run 1");

waitForTaskTreeCloseCheckingSuspensionWithError(root.getOid(), result, 10000);
stabilize();

then("run 1");

Expand Down Expand Up @@ -1879,6 +1880,7 @@ public void test210SuspendingCompositeWithSubtasks() throws Exception {

taskManager.resumeTask(oidOfSubtask1, result);
waitForTaskTreeCloseCheckingSuspensionWithError(root.getOid(), result, 10000);
stabilize();

then("run 2");

Expand Down Expand Up @@ -1986,6 +1988,7 @@ public void test210SuspendingCompositeWithSubtasks() throws Exception {

taskManager.resumeTask(oidOfSubtask1, result);
waitForTaskTreeCloseCheckingSuspensionWithError(root.getOid(), result, 10000);
stabilize();

then("run 3");

Expand Down Expand Up @@ -2155,6 +2158,7 @@ public void test210SuspendingCompositeWithSubtasks() throws Exception {

taskManager.resumeTask(oidOfSubtask22, result);
waitForTaskTreeCloseCheckingSuspensionWithError(root.getOid(), result, 10000);
stabilize();

then("run 4");

Expand Down Expand Up @@ -2183,6 +2187,7 @@ public void test210SuspendingCompositeWithSubtasks() throws Exception {

taskManager.resumeTask(oidOfSubtask3, result);
waitForTaskTreeCloseCheckingSuspensionWithError(root.getOid(), result, 10000);
stabilize();

then("run 5");

Expand Down

0 comments on commit 8addbbe

Please sign in to comment.