From c3a85548e7622a3d9a408a6a43b5b4997210d151 Mon Sep 17 00:00:00 2001 From: Teddy Crepineau Date: Thu, 9 Jan 2025 17:47:06 +0100 Subject: [PATCH] fix= --- .../openmetadata/service/resources/dqtests/TestCaseResource.java | 1 + 1 file changed, 1 insertion(+) 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)