Development
: Create Tests to validate Scorpio annotation for certain endpoints
#10161
+406
−11
GitHub Actions / H2 Tests
failed
Jan 17, 2025 in 1s
8319 passed, 2 failed and 1 skipped
Annotations
github-actions / H2 Tests
de.tum.cit.aet.artemis.communication.ChannelIntegrationTest ► markAllChannelsAsRead()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.ChannelIntegrationTest.xml
Error:
org.opentest4j.AssertionFailedError:
Raw output
org.opentest4j.AssertionFailedError:
expected: 0L
but was: 1L
at app//de.tum.cit.aet.artemis.communication.ChannelIntegrationTest.lambda$markAllChannelsAsRead$7(ChannelIntegrationTest.java:997)
at app//org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:248)
at app//org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:235)
at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:317)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at [email protected]/java.lang.Thread.run(Thread.java:1583)
github-actions / H2 Tests
de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest ► testUpdateModelingExerciseForExam_asInstructor()
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.xml
Error:
Wanted but not invoked:
Raw output
Wanted but not invoked:
examLiveEventsService.createAndSendProblemStatementUpdateEvent(
ModelingExercise{id=1479, maxPoints='5.0', diagramType='ClassDiagram', exampleSolutionModel='This is my example solution model', exampleSolutionExplanation='This is my example solution model'},
"notified!",
<any>
);
-> at de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141)
Actually, there were zero interactions with this mock.
at app//de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141)
at app//de.tum.cit.aet.artemis.modeling.ModelingExerciseIntegrationTest.testUpdateModelingExerciseForExam_asInstructor(ModelingExerciseIntegrationTest.java:271)
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