Skip to content

General: Migrate suspicious behavior module to signals, inject and standalone #45028

General: Migrate suspicious behavior module to signals, inject and standalone

General: Migrate suspicious behavior module to signals, inject and standalone #45028

Triggered via pull request December 1, 2024 17:22
Status Success
Total duration 6m 22s
Artifacts 1

build.yml

on: pull_request
Build .war artifact
3m 29s
Build .war artifact
Build and Push Docker Image
6m 13s
Build and Push Docker Image
Fit to window
Zoom out
Zoom in

Annotations

7 errors
test#L0
Junit Results ran 8493 in 1286.2719999999997 seconds 0 Errored, 3 Failed, 2 Skipped
testRegister(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/notification/PushNotificationResourceTest.java#L57
Junit test testRegister() failed java.lang.AssertionError: Expected size: 1 but was: 2 in: [PushNotificationDeviceConfiguration{token='token1', deviceType=FIREBASE, expirationDate=2024-12-11 17:29:54.634, secretKey=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], owner=User{login='test-user', firstName='test-userFirst', lastName='test-userLast', email='test-user@test.de', imageUrl='null', activated='true', langKey='en', activationKey='null'}}, PushNotificationDeviceConfiguration{token='FakeFirebaseToken', deviceType=FIREBASE, expirationDate=9999-12-31 12:00:00.0, secretKey=[125, 63, -76, 61, 65, 123, 58, -72, -72, -74, -49, -109, 92, -13, -6, -3, 44, -126, -111, 44, 37, -50, 123, 62, 103, 124, 108, -83, 53, -47, -10, 75], owner=User{login='test-user', firstName='test-userFirst', lastName='test-userLast', email='test-user@test.de', imageUrl='null', activated='true', langKey='en', activationKey='null'}}]
testUnregister(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/communication/notification/PushNotificationResourceTest.java#L73
Junit test testUnregister() failed java.lang.AssertionError: Expected size: 1 but was: 2 in: [PushNotificationDeviceConfiguration{token='token1', deviceType=FIREBASE, expirationDate=2024-12-11 17:29:54.634, secretKey=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], owner=User{login='test-user', firstName='test-userFirst', lastName='test-userLast', email='test-user@test.de', imageUrl='null', activated='true', langKey='en', activationKey='null'}}, PushNotificationDeviceConfiguration{token='FakeFirebaseToken', deviceType=FIREBASE, expirationDate=9999-12-31 12:00:00.0, secretKey=[78, 33, 34, 51, 90, -87, -21, -96, -79, 101, 28, 46, 78, -48, 121, 75, 25, -119, 106, 20, -14, 91, -69, -50, -90, -44, 100, 100, 14, 24, -54, -106], owner=User{login='test-user', firstName='test-userFirst', lastName='test-userLast', email='test-user@test.de', imageUrl='null', activated='true', langKey='en', activationKey='null'}}]
testArchiveExamAsInstructor(): /home/runner/work/Artemis/Artemis/src/test/java/de/tum/cit/aet/artemis/exam/ExamIntegrationTest.java#L1276
Junit test testArchiveExamAsInstructor() failed org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.exam.ExamIntegrationTest was not fulfilled within 10 seconds.
de.tum.cit.aet.artemis.communication.notification.PushNotificationResourceTest ► testRegister(): src/test/java/de/tum/cit/aet/artemis/communication/notification/PushNotificationResourceTest.java#L65
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.notification.PushNotificationResourceTest.xml Error: java.lang.AssertionError:
de.tum.cit.aet.artemis.communication.notification.PushNotificationResourceTest ► testUnregister(): src/test/java/de/tum/cit/aet/artemis/communication/notification/PushNotificationResourceTest.java#L65
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.communication.notification.PushNotificationResourceTest.xml Error: java.lang.AssertionError:
de.tum.cit.aet.artemis.exam.ExamIntegrationTest ► testArchiveExamAsInstructor(): src/test/java/de/tum/cit/aet/artemis/exam/ExamIntegrationTest.java#L1287
Failed test found in: build/test-results/test/TEST-de.tum.cit.aet.artemis.exam.ExamIntegrationTest.xml Error: org.awaitility.core.ConditionTimeoutException: Condition with Lambda expression in de.tum.cit.aet.artemis.exam.ExamIntegrationTest was not fulfilled within 10 seconds.

Artifacts

Produced during runtime
Name Size
Artemis.war
263 MB