Integrated code lifecycle
: Fix an issue with concurrent build queue access
#62247
Annotations
5 errors
test#L0
Junit Results ran 8461 in 1284.3689999999986 seconds 0 Errored, 2 Failed, 2 Skipped
|
testDeleteExamWithMultipleTestRuns():
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/exam/StudentExamIntegrationTest.java#L380
Junit test testDeleteExamWithMultipleTestRuns() failed org.mockito.exceptions.misusing.UnfinishedStubbingException:
Unfinished stubbing detected here:
-> at de.tum.cit.aet.artemis.core.connector.GitlabRequestMockProvider.mockProtectBranch(GitlabRequestMockProvider.java:515)
E.g. thenReturn() may be missing.
Examples of correct stubbing:
when(mock.isOk()).thenReturn(true);
when(mock.isOk()).thenThrow(exception);
doThrow(exception).when(mock).someVoidMethod();
Hints:
1. missing thenReturn()
2. you are trying to stub a final method, which is not supported
3. you are stubbing the behaviour of another mock inside before 'thenReturn' instruction is completed
|
resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL:
/home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/programming/ProgrammingExerciseGitlabJenkinsIntegrationTest.java#L0
Junit test resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.util.ProgrammingExerciseTestService was not fulfilled within 20 seconds.
|
de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest ► testDeleteExamWithMultipleTestRuns():
src/test/java/de/tum/cit/aet/artemis/core/connector/GitlabRequestMockProvider.java#L515
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.StudentExamIntegrationTest.xml
Error:
org.mockito.exceptions.misusing.UnfinishedStubbingException:
|
de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest ► resumeProgrammingExerciseByTriggeringInstructorBuild_correctInitializationState(ExerciseMode) [1] exerciseMode=INDIVIDUAL:
src/test/java/de/tum/cit/aet/artemis/programming/util/ProgrammingExerciseTestService.java#L1483
Failed test found in:
build/test-results/test/TEST-de.tum.cit.aet.artemis.programming.ProgrammingExerciseGitlabJenkinsIntegrationTest.xml
Error:
org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.programming.util.ProgrammingExerciseTestService was not fulfilled within 20 seconds.
|