Skip to content

[feat/CK-240] 골룸 관련 부분 의존성 리팩토링을 한다 #70

[feat/CK-240] 골룸 관련 부분 의존성 리팩토링을 한다

[feat/CK-240] 골룸 관련 부분 의존성 리팩토링을 한다 #70

Triggered via pull request January 14, 2024 15:37
Status Failure
Total duration 2m 34s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

Annotations

15 errors and 15 warnings
RoadmapReviewCreateIntegrationTest.로드맵_리뷰_생성시_완료한_골룸이_없다면_예외가_발생한다(): backend/kirikiri/src/test/java/co/kirikiri/integration/RoadmapReviewCreateIntegrationTest.java#L206
org.opentest4j.AssertionFailedError: expected: "로드맵에 대해서 완료된 골룸이 존재하지 않습니다. roadmapId = 1 memberIdentifier = identifier2" but was: "로드맵에 대해서 완료된 골룸이 존재하지 않습니다. roadmapId = 1 memberId = 2"
RoadmapSchedulerIntegrationTest.삭제된_상태의_로드맵을_삭제시_모든_골룸이_종료된지_3개월이_지났으면_정상적으로_삭제한다(): backend/kirikiri/src/test/java/co/kirikiri/integration/RoadmapSchedulerIntegrationTest.java#L65
org.springframework.dao.DataIntegrityViolationException: could not execute statement [Referential integrity constraint violation: "FK2HF9US96GOAMNUM7XBP5X1L59: PUBLIC.GOAL_ROOM_PENDING_MEMBER FOREIGN KEY(GOAL_ROOM_ID) REFERENCES PUBLIC.GOAL_ROOM(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from goal_room where id=? [23503-214]] [delete from goal_room where id=?]; SQL [delete from goal_room where id=?]; constraint ["FK2HF9US96GOAMNUM7XBP5X1L59: PUBLIC.GOAL_ROOM_PENDING_MEMBER FOREIGN KEY(GOAL_ROOM_ID) REFERENCES PUBLIC.GOAL_ROOM(ID) (CAST(1 AS BIGINT))"; SQL statement: delete from goal_room where id=? [23503-214]]
RoadmapRepositoryTest.카테고리_조건_없이_주어진_로드맵_이전의_데이터를_생성된_골룸이_많은순으로_조회한다(): backend/kirikiri/src/test/java/co/kirikiri/persistence/roadmap/RoadmapRepositoryTest.java#L218
org.gradle.internal.exceptions.DefaultMultiCauseException: Multiple Failures (3 failures) java.lang.AssertionError: Expecting actual: [co.kirikiri.domain.roadmap.Roadmap@5e, co.kirikiri.domain.roadmap.Roadmap@5d, co.kirikiri.domain.roadmap.Roadmap@5c] to be equal to: [co.kirikiri.domain.roadmap.Roadmap@5c, co.kirikiri.domain.roadmap.Roadmap@5e, co.kirikiri.domain.roadmap.Roadmap@5d] when recursively comparing field by field, but found the following 22 differences: field/property '[0].category.id' differ: - actual value : 48L - expected value: 47L field/property '[0].category.name' differ: - actual value : "여행" - expected value: "게임" field/property '[0].contents.values[0].createdAt' differ: - actual value : 2024-01-14T15:40:02.050382 (java.time.LocalDateTime) - expected value: 2024-01-14T15:40:02.044836 (java.time.LocalDateTime) field/property '[0].contents.values[0].id' differ: - actual value : 64L - expected value: 62L field/property '[0].contents.values[0].nodes.values[0].id' differ: - actual value : 82L - expected value: 78L field/property '[0].contents.values[0].nodes.values[1].id' differ: - actual value : 83L - expected value: 79L field/property '[0].contents.values[0].updatedAt' differ: - actual value : 2024-01-14T15:40:02.050382 (java.time.LocalDateTime) - expected value: 2024-01-14T15:40:02.044836 (java.time.LocalDateTime) field/property '[0].title' differ: - actual value : "여행 로드맵" - expected value: "게임 로드맵" field/property '[1].category.id' differ: - actual value : 47L - expected value: 48L field/property '[1].category.name' differ: - actual value : "게임" - expected value: "여행" field/property '[1].contents.values[0].createdAt' differ: - actual value : 2024-01-14T15:40:02.046212 (java.time.LocalDateTime) - expected value: 2024-01-14T15:40:02.050382 (java.time.LocalDateTime) field/property '[1].contents.values[0].id' differ: - actual value : 63L - expected value: 64L field/property '[1].contents.values[0].nodes.values[0].id' differ: - actual value : 80L - expected value: 82L field/property '[1].contents.values[0].nodes.values[1].id' differ: - actual value : 81L - expected value: 83L field/property '[1].contents.values[0].updatedAt' differ: - actual value : 2024-01-14T15:40:02.046212 (java.time.LocalDateTime) - expected value: 2024-01-14T15:40:02.050382 (java.time.LocalDateTime) field/property '[1].title' differ: - actual value : "게임 로드맵2" - expected value: "여행 로드맵" field/property '[2].contents.values[0].createdAt' differ: - actual value : 2024-01-14T15:40:02.044836 (java.time.LocalDateTime) - expected value: 2024-01-14T15:40:02.046212 (java.time.LocalDateTime) field/property '[2].contents.values[0].id' differ: - actual value : 62L - expected value: 63L field/property '[2].contents.values[0].nodes.values[0].id' differ: - actual value : 78L - expected value: 80L field/property '[2].contents.values[0].nodes.values[1].id' differ: - actual value : 79L - expected value: 81L field/property '[2].contents.values[0].updatedAt' differ: - actual value : 2024-01-14T15:40:02.044836 (java.time.LocalDateTime) - expected value: 2024-01-14T15:40:02.046212 (java.time.LocalDateTime) field/property '[2].title' differ: - actual value : "게임 로드맵" - expected value: "게임 로드맵2" The recursive comparison was performed with this configuration: - the following fields were ignored in the comparison: id, createdAt, updatedAt - no overridden equals methods were used in the comparison (except for java types) - these types were compared with the following comparators: - java.lang.Double -> DoubleComparator[precision=1.0E-15] - java.lang.Float -> FloatComparator[precision=1.0E-6] - java.nio.file.Path -> lexicographic comparator (Path natural order) - actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior). - the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy org.opentest4j.AssertionFailedError: expected: 1 but was: 2 java.lang.AssertionError: Expecting actual: [co.kirikiri.domain.roadmap.Roadmap@5d, co.kirikiri.domain.roadmap.Roadmap@5c] to be equal to: [co.kirikiri.domain.roadmap.Roadmap@5d] when recursively comparing field by field, but found the following difference: Top level actual and expected objects differ: - actual value : [co.kirikiri.domain.roadmap.Roadmap@5d, co.kirikiri.domain.roadmap.Roadmap@5c] - expected value: [co.kirikiri.domain.roadmap.Roadmap@5d] actual and expected values are collections of different size, actual size=2 when expected size=1 The recursive comparison was performed with this configuration: - the following fields were ignored in the comparison: id, createdAt, updatedAt - no overridden equals methods were used in the comparison (except for java types) - these types were compared with the following comparators: - java.lang.Double -> DoubleComparator[precision=1.0E-15] - java.lang.Float -> FloatComparator[precision=1.0E-6] - java.nio.file.Path -> lexicographic comparator (Path natural order) - actual and expected objects and their fields were compared field by field recursively even if they were not of the same type, this allows for example to compare a Person to a PersonDto (call strictTypeChecking(true) to change that behavior). - the introspection strategy used was: DefaultRecursiveComparisonIntrospectionStrategy
RoadmapCreateServiceTest.골룸이_생성된_적이_있는_로드맵을_삭제한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L298
org.opentest4j.AssertionFailedError: Unexpected exception thrown: co.kirikiri.common.exception.NotFoundException: 로드맵에 컨텐츠가 존재하지 않습니다.
RoadmapCreateServiceTest.로드맵_리뷰_작성시_완료한_골룸이_없으면_예외가_발생한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L223
java.lang.AssertionError: Expecting actual throwable to be an instance of: co.kirikiri.common.exception.BadRequestException but was: co.kirikiri.common.exception.AuthenticationException: 존재하지 않는 회원입니다. at co.kirikiri.service.roadmap.RoadmapCreateService.lambda$findMemberByIdentifier$0(RoadmapCreateService.java:77) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at co.kirikiri.service.roadmap.RoadmapCreateService.findMemberByIdentifier(RoadmapCreateService.java:77) ...(91 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
RoadmapCreateServiceTest.로드맵에_대한_리뷰를_추가한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L189
org.opentest4j.AssertionFailedError: Unexpected exception thrown: co.kirikiri.common.exception.AuthenticationException: 존재하지 않는 회원입니다.
RoadmapCreateServiceTest.로드맵_리뷰_작성시_이미_작성을_완료했으면_예외가_발생한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L253
java.lang.AssertionError: Expecting actual throwable to be an instance of: co.kirikiri.common.exception.BadRequestException but was: co.kirikiri.common.exception.AuthenticationException: 존재하지 않는 회원입니다. at co.kirikiri.service.roadmap.RoadmapCreateService.lambda$findMemberByIdentifier$0(RoadmapCreateService.java:77) at java.base/java.util.Optional.orElseThrow(Optional.java:403) at co.kirikiri.service.roadmap.RoadmapCreateService.findMemberByIdentifier(RoadmapCreateService.java:77) ...(91 remaining lines not displayed - this can be changed with Assertions.setMaxStackTraceElementsDisplayed)
RoadmapCreateServiceTest.골룸이_생성된_적이_없는_로드맵을_삭제한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapCreateServiceTest.java#L271
org.opentest4j.AssertionFailedError: Unexpected exception thrown: co.kirikiri.common.exception.NotFoundException: 로드맵에 컨텐츠가 존재하지 않습니다.
RoadmapReadServiceTest.로드맵의_골룸_목록을_최신순으로_조회한다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapReadServiceTest.java#L506
java.lang.NullPointerException: Cannot invoke "co.kirikiri.goalroom.persistence.GoalRoomPendingMemberRepository.findLeaderByGoalRoomAndRole(co.kirikiri.goalroom.domain.GoalRoom, co.kirikiri.goalroom.domain.GoalRoomRole)" because "this.goalRoomPendingMemberRepository" is null
RoadmapSchedulerTest.삭제된_상태의_로드맵_삭제시_종료되지_않은_골룸이_있으면_삭제되지_않는다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapSchedulerTest.java#L92
org.opentest4j.AssertionFailedError: Unexpected exception thrown: java.lang.NullPointerException: Cannot invoke "co.kirikiri.persistence.roadmap.RoadmapContentRepository.findFirstByRoadmapOrderByCreatedAtDesc(co.kirikiri.domain.roadmap.Roadmap)" because "this.roadmapContentRepository" is null
RoadmapSchedulerTest.삭제된_상태의_로드맵_삭제시_골룸이_종료된지_3개월이_지나지_않으면_삭제되지_않는다(): backend/kirikiri/src/test/java/co/kirikiri/service/RoadmapSchedulerTest.java#L130
org.opentest4j.AssertionFailedError: Unexpected exception thrown: java.lang.NullPointerException: Cannot invoke "co.kirikiri.persistence.roadmap.RoadmapContentRepository.findFirstByRoadmapOrderByCreatedAtDesc(co.kirikiri.domain.roadmap.Roadmap)" because "this.roadmapContentRepository" is null
build
Process completed with exit code 1.
로드맵의_골룸_목록을_최신순으로_조회한다() (co.kirikiri.service.RoadmapReadServiceTest) failed: co.kirikiri.service.RoadmapReadServiceTest#L0
backend/kirikiri/build/test-results/test/TEST-co.kirikiri.service.RoadmapReadServiceTest.xml
골룸이_생성된_적이_있는_로드맵을_삭제한다() (co.kirikiri.service.RoadmapCreateServiceTest) failed: co.kirikiri.service.RoadmapCreateServiceTest#L0
backend/kirikiri/build/test-results/test/TEST-co.kirikiri.service.RoadmapCreateServiceTest.xml
로드맵에_대한_리뷰를_추가한다() (co.kirikiri.service.RoadmapCreateServiceTest) failed: co.kirikiri.service.RoadmapCreateServiceTest#L0
backend/kirikiri/build/test-results/test/TEST-co.kirikiri.service.RoadmapCreateServiceTest.xml
골룸이_생성된_적이_없는_로드맵을_삭제한다() (co.kirikiri.service.RoadmapCreateServiceTest) failed: co.kirikiri.service.RoadmapCreateServiceTest#L0
backend/kirikiri/build/test-results/test/TEST-co.kirikiri.service.RoadmapCreateServiceTest.xml
build
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/