Development
: Fix flaky communication module test cases
#64270
Annotations
5 errors and 1 warning
test#L0
Junit Results ran 8317 in 1219.5219999999993 seconds 0 Errored, 2 Failed, 1 Skipped
|
testShouldNotFireProgressStalledEventWithLessThanThreeSubmissions():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/iris/PyrisEventSystemIntegrationTest.java#L294
Junit test testShouldNotFireProgressStalledEventWithLessThanThreeSubmissions() failed 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{id181, completionDate=2025-01-18T12:20:28.569647434Z[Etc/UTC], successful=false, score=20.0, rated=true, assessmentType=AUTOMATIC, hasComplaint=null, testCaseCount=0, passedTestCaseCount=0, codeIssueCount=0}]
|
updateTextExerciseForExam():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/text/TextExerciseIntegrationTest.java#L507
Junit test updateTextExerciseForExam() failed Wanted but not invoked:
examLiveEventsService.createAndSendProblemStatementUpdateEvent(
<any>,
<any>,
<any>
);
-> at de.tum.cit.aet.artemis.exam.service.ExamLiveEventsService.createAndSendProblemStatementUpdateEvent(ExamLiveEventsService.java:141)
Actually, there were zero interactions with this mock.
|
de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest ► testShouldNotFireProgressStalledEventWithLessThanThreeSubmissions():
src/main/java/de/tum/cit/aet/artemis/iris/service/session/IrisExerciseChatSessionService.java#L211
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.iris.PyrisEventSystemIntegrationTest.xml
Error:
org.mockito.exceptions.verification.NeverWantedButInvoked:
|
de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest ► updateTextExerciseForExam():
src/main/java/de/tum/cit/aet/artemis/exam/service/ExamLiveEventsService.java#L141
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.text.TextExerciseIntegrationTest.xml
Error:
Wanted but not invoked:
|
label
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|