diff --git a/openmetadata-service/src/main/java/org/openmetadata/service/resources/dqtests/TestCaseResource.java b/openmetadata-service/src/main/java/org/openmetadata/service/resources/dqtests/TestCaseResource.java index 4a84e03dacb3..4f0add675282 100644 --- a/openmetadata-service/src/main/java/org/openmetadata/service/resources/dqtests/TestCaseResource.java +++ b/openmetadata-service/src/main/java/org/openmetadata/service/resources/dqtests/TestCaseResource.java @@ -916,6 +916,7 @@ public Response addTestCaseResult( repository.deleteTestCaseFailedRowsSample(testCase.getId()); } RestUtil.validateTimestampMilliseconds(testCaseResult.getTimestamp()); + testCaseResult.withId(UUID.randomUUID()).withTestCaseFQN(fqn); return repository .addTestCaseResult( securityContext.getUserPrincipal().getName(), uriInfo, fqn, testCaseResult)