Development
: Create Tests to validate Scorpio annotation for certain endpoints
#10161
+406
−11
GitHub Actions / H2 Tests
failed
Jan 16, 2025 in 0s
8319 passed, 2 failed and 1 skipped
Annotations
Check failure on line 780 in src/test/java/de/tum/cit/aet/artemis/core/util/RequestUtilService.java
github-actions / H2 Tests
de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest ► testDeleteExamWithStudentExamsAfterConductionAndEvaluation()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest.xml
Error:
java.lang.AssertionError: Response status expected:<200> but was:<500>
Raw output
java.lang.AssertionError: Response status expected:<200> but was:<500>
at org.springframework.test.util.AssertionErrors.fail(AssertionErrors.java:61)
at org.springframework.test.util.AssertionErrors.assertEquals(AssertionErrors.java:128)
at org.springframework.test.web.servlet.result.StatusResultMatchers.lambda$is$1(StatusResultMatchers.java:65)
at org.springframework.test.web.servlet.MockMvc$1.andExpect(MockMvc.java:214)
at de.tum.cit.aet.artemis.core.util.RequestUtilService.delete(RequestUtilService.java:780)
at de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest.testDeleteExamWithStudentExamsAfterConductionAndEvaluation(StudentExamIntegrationTest.java:2307)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
github-actions / H2 Tests
de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest ► testShouldNotFireProgressStalledEventWithIncreasingScores()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest.xml
Error:
org.mockito.exceptions.verification.NeverWantedButInvoked:
Raw output
org.mockito.exceptions.verification.NeverWantedButInvoked:
irisExerciseChatSessionService.onNewResult(
<any de.tum.cit.aet.artemis.assessment.domain.Result>
);
Never wanted here:
-> at de.tum.cit.aet.artemis.iris.service.session.IrisExerciseChatSessionService.onNewResult(IrisExerciseChatSessionService.java:211)
But invoked here:
-> at de.tum.cit.aet.artemis.iris.service.pyris.event.NewResultEvent.handleEvent(NewResultEvent.java:30) with arguments: [Result{id161, completionDate=2025-01-16T20:47:14.801041645Z[Etc/UTC], successful=false, score=40.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]
at app//de.tum.cit.aet.artemis.iris.service.session.IrisExerciseChatSessionService.onNewResult(IrisExerciseChatSessionService.java:211)
at app//de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest.testShouldNotFireProgressStalledEventWithIncreasingScores(PyrisEventSystemIntegrationTest.java:317)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:580)
at [email protected]/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:387)
at [email protected]/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1312)
at [email protected]/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1843)
at [email protected]/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1808)
at [email protected]/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:188)
Loading