refactor: notification을 타입계층으로 리팩터링 #475
GitHub Actions / JUnit Test Report
failed
Dec 28, 2024 in 0s
211 tests run, 209 passed, 0 skipped, 2 failed.
Annotations
Check failure on line 288 in MeetingServiceTest$RedissonDistributedLockTest
github-actions / JUnit Test Report
MeetingServiceTest$RedissonDistributedLockTest.100명의 사용자가 동시에 약속에 참여하여 API를 호출할 경우 정확히 count+100 한다.
org.opentest4j.AssertionFailedError:
expected: 100
but was: 86
Raw output
org.opentest4j.AssertionFailedError:
expected: 100
but was: 86
at [email protected]/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at [email protected]/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at [email protected]/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at app//com.ody.meeting.service.MeetingServiceTest$RedissonDistributedLockTest.concurrencySaveMateAndSendNotifications(MeetingServiceTest.java:288)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
at [email protected]/java.util.ArrayList.forEach(ArrayList.java:1511)
github-actions / JUnit Test Report
DepartureReminderTest.출발 알림 생성 시점이 알림 전송 시점보다 늦은 경우 즉시 전송된다
java.lang.NullPointerException: Cannot invoke "java.time.LocalDateTime.isBefore(java.time.chrono.ChronoLocalDateTime)" because "sendAt" is null
Raw output
java.lang.NullPointerException: Cannot invoke "java.time.LocalDateTime.isBefore(java.time.chrono.ChronoLocalDateTime)" because "sendAt" is null
at com.ody.notification.domain.types.AbstractNotification.calculateSendAt(AbstractNotification.java:32)
at com.ody.notification.domain.types.AbstractNotification.<init>(AbstractNotification.java:28)
at com.ody.notification.domain.types.DepartureReminder.<init>(DepartureReminder.java:14)
at com.ody.notification.domain.types.DepartureReminderTest.sendImmediatelyIfDepartureTimeIsPast(DepartureReminderTest.java:32)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Loading