X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=otf-camunda%2Fsrc%2Fmain%2Fjava%2Forg%2Foran%2Fotf%2Fcamunda%2Fdelegate%2Fotf%2Fcommon%2Frunnable%2FSynchronousTestInstanceCallable.java;h=87559e9a432876516e60d209c3067da7511309af;hb=cf067bb8bd9b45e79a85e9612a0f4c5abeb727b8;hp=cffdc1ecc8e52c6a5fff5b51bea0a2521c3b160c;hpb=596b1d89c5f63170ed40abb6f7b9395178c5e44e;p=it%2Fotf.git diff --git a/otf-camunda/src/main/java/org/oran/otf/camunda/delegate/otf/common/runnable/SynchronousTestInstanceCallable.java b/otf-camunda/src/main/java/org/oran/otf/camunda/delegate/otf/common/runnable/SynchronousTestInstanceCallable.java index cffdc1e..87559e9 100644 --- a/otf-camunda/src/main/java/org/oran/otf/camunda/delegate/otf/common/runnable/SynchronousTestInstanceCallable.java +++ b/otf-camunda/src/main/java/org/oran/otf/camunda/delegate/otf/common/runnable/SynchronousTestInstanceCallable.java @@ -164,6 +164,8 @@ public class SynchronousTestInstanceCallable extends ProcessEngineAwareService // Add the testExecution to the parentTestExecution parentTestExecution.getTestInstanceResults().add(testExecution); Query query = new Query(); + //TODO: Update for Azure + query.addCriteria((Criteria.where("groupId").is(parentTestExecution.getGroupId()))); query.addCriteria(Criteria.where("_id").is(parentTestExecution.get_id())); // Also add businessKey as a criteria because the object won't be found if the business key // was somehow modified in the workflow.