Skip to content

refactor: notification을 타입계층으로 리팩터링 #475

refactor: notification을 타입계층으로 리팩터링

refactor: notification을 타입계층으로 리팩터링 #475

GitHub Actions / Test Results failed Dec 28, 2024 in 0s

2 fail, 208 pass in 13s

 64 files  ±0   64 suites  ±0   13s ⏱️ ±0s
210 tests ±0  208 ✅  - 1  0 💤 ±0  2 ❌ +1 
211 runs  ±0  209 ✅  - 1  0 💤 ±0  2 ❌ +1 

Results for commit f10288e. ± Comparison against earlier commit 2d4decd.

Annotations

Check warning on line 0 in com.ody.meeting.service.MeetingServiceTest$RedissonDistributedLockTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

100명의 사용자가 동시에 약속에 참여하여 API를 호출할 경우 정확히 count+100 한다. (com.ody.meeting.service.MeetingServiceTest$RedissonDistributedLockTest) failed

/github/workspace/backend/build/test-results/test/TEST-com.ody.meeting.service.MeetingServiceTest$RedissonDistributedLockTest.xml [took 0s]
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)

Check warning on line 0 in com.ody.notification.domain.types.DepartureReminderTest

See this annotation in the file changed.

@github-actions github-actions / Test Results

출발 알림 생성 시점이 알림 전송 시점보다 늦은 경우 즉시 전송된다 (com.ody.notification.domain.types.DepartureReminderTest) failed

/github/workspace/backend/build/test-results/test/TEST-com.ody.notification.domain.types.DepartureReminderTest.xml [took 0s]
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)