BS-11298 : Failing ErrorBoundaryEventTest.errorBoundaryEventTriggeredCatchAllError

Replace "waitForArchivedActivity(calledStep1.getId(), TestStates.ABORTED);" by "waitForFlowNodeInState(processInstance, "calledStep1", TestStates.ABORTED, true);"
BS-10185 : Fix unstable test org.bonitasoft.engine.event.TimerEventTest.timerStartEventDuration

Rewrite the test.
Replace :
  "List<ProcessInstance> processInstances = getProcessAPI().getProcessInstances(0, 10, ProcessInstanceCriterion.CREATION_DATE_DESC);
  assertTrue(processInstances.isEmpty());

  // wait for process instance creation
  Thread.sleep(4000);

  processInstances = getProcessAPI().getProcessInstances(0, 10, ProcessInstanceCriterion.CREATION_DATE_DESC);
  assertEquals(1, processInstances.size());"

by "waitForInitializingProcess();"
BS-10185 : Fix unstable test org.bonitasoft.engine.event.TimerEventTest.timerStartEventDuration

 Revert code for test
BS-10790 : Fix unstable test ProcessExecutionTest.checkArchiveDate

- Replace old mechanism to check task on database by the new with the event
Merge MasterBugFixing into master
fix merge Conflict
BS-10789 : fix unstable test GatewayExecutionTest.processWithParallelGatewaySplit

- Replace old mechanism to check task on database by the new with the event
Merge branch 'master' into 'MasterBugFixing'