// Add the testExecution to the parentTestExecution\r
parentTestExecution.getTestInstanceResults().add(testExecution);\r
Query query = new Query();\r
+ //TODO: Update for Azure\r
+ query.addCriteria((Criteria.where("groupId").is(parentTestExecution.getGroupId())));\r
query.addCriteria(Criteria.where("_id").is(parentTestExecution.get_id()));\r
// Also add businessKey as a criteria because the object won't be found if the business key\r
// was somehow modified in the workflow.\r