Co-authored-by: Sriharsha Chintalapani <harshach@users.noreply.github.com>
This commit is contained in:
Teddy 2025-01-10 04:36:11 +01:00 committed by GitHub
parent 2eacf1bda5
commit b5d240b8f9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -916,6 +916,7 @@ public class TestCaseResource extends EntityResource<TestCase, TestCaseRepositor
repository.deleteTestCaseFailedRowsSample(testCase.getId());
}
RestUtil.validateTimestampMilliseconds(testCaseResult.getTimestamp());
testCaseResult.withId(UUID.randomUUID()).withTestCaseFQN(fqn);
return repository
.addTestCaseResult(
securityContext.getUserPrincipal().getName(), uriInfo, fqn, testCaseResult)