Skip to content

feat: Pin 한 과목 SSE 전송 기능 구현 #100

feat: Pin 한 과목 SSE 전송 기능 구현

feat: Pin 한 과목 SSE 전송 기능 구현 #100

Triggered via pull request February 9, 2025 08:07
Status Failure
Total duration 1m 29s
Artifacts

pull_request.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 15 warnings
SseApiTest.Server Sent Event를 연결한다.: src/test/java/kr/allcll/seatfinder/sse/SseApiTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@49e666e2 testClass = kr.allcll.seatfinder.sse.SseApiTest, locations = [], classes = [kr.allcll.seatfinder.SeatFinderApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.autoconfigure.web.servlet.WebMvcTestContextBootstrapper=true"], contextCustomizers = [org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@463b4ac8, org.springframework.boot.test.autoconfigure.OverrideAutoConfigurationContextCustomizerFactory$DisableAutoConfigurationContextCustomizer@19146ad8, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.filter.TypeExcludeFiltersContextCustomizer@ad791942, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@369c201f, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@7c541c15, [ImportsContextCustomizer@7a1b9fb6 key = [org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration, org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration, org.springframework.boot.autoconfigure.web.servlet.HttpEncodingAutoConfiguration, org.springframework.boot.autoconfigure.validation.ValidationAutoConfiguration, org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration, org.springframework.boot.autoconfigure.hateoas.HypermediaAutoConfiguration, org.springframework.boot.autoconfigure.jackson.JacksonAutoConfiguration, org.springframework.boot.autoconfigure.data.web.SpringDataWebAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration, org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.http.HttpMessageConvertersAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.autoconfigure.thymeleaf.ThymeleafAutoConfiguration, org.springframework.boot.autoconfigure.gson.GsonAutoConfiguration, org.springframework.boot.autoconfigure.jsonb.JsonbAutoConfiguration, org.springframework.boot.autoconfigure.freemarker.FreeMarkerAutoConfiguration, org.springframework.boot.autoconfigure.web.servlet.WebMvcAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.groovy.template.GroovyTemplateAutoConfiguration, org.springframework.boot.autoconfigure.mustache.MustacheAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4212a0c8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@476b0ae6, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@5c00384f, org.springframework.test.context.bean.override.BeanOverrideContextCustomizer@72cc991c, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@51941fcb], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
SseServiceTest.SSE를 연결하고, 최초 메시지를 받는다.: src/test/java/kr/allcll/seatfinder/sse/SseServiceTest.java#L1
java.lang.IllegalStateException: Failed to load ApplicationContext for [WebMergedContextConfiguration@5900ee88 testClass = kr.allcll.seatfinder.sse.SseServiceTest, locations = [], classes = [kr.allcll.seatfinder.SeatFinderApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["app.scheduling.enabled=false", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@463b4ac8, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@7c541c15, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4212a0c8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@476b0ae6, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7516e4e5, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@5c00384f, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@83c824], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
SseServiceTest.동시에 여러 클라이언트와 SSE 연결을 유지하고, 모두에게 메시지를 전달한다.: src/test/java/kr/allcll/seatfinder/sse/SseServiceTest.java#L1
java.lang.IllegalStateException: ApplicationContext failure threshold (1) exceeded: skipping repeated attempt to load context for [WebMergedContextConfiguration@5900ee88 testClass = kr.allcll.seatfinder.sse.SseServiceTest, locations = [], classes = [kr.allcll.seatfinder.SeatFinderApplication], contextInitializerClasses = [], activeProfiles = [], propertySourceDescriptors = [PropertySourceDescriptor[locations=[], ignoreResourceNotFound=false, name=null, propertySourceFactory=null, encoding=null]], propertySourceProperties = ["app.scheduling.enabled=false", "org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [org.springframework.boot.test.autoconfigure.OnFailureConditionReportContextCustomizerFactory$OnFailureConditionReportContextCustomizer@463b4ac8, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@7c541c15, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@4212a0c8, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@476b0ae6, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@7516e4e5, org.springframework.boot.test.web.reactor.netty.DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory$DisableReactorResourceFactoryGlobalResourcesContextCustomizerCustomizer@5c00384f, org.springframework.test.context.support.DynamicPropertiesContextCustomizer@0, org.springframework.boot.test.context.SpringBootTestAnnotation@83c824], resourceBasePath = "src/main/webapp", contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
StarServiceTest.즐겨찾기 50개 미만일 경우 정상 등록을 검증한다.: src/test/java/kr/allcll/seatfinder/star/StarServiceTest.java#L37
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
StarServiceTest.즐겨찾기가 50개 이상일 경우 예외를 검증한다.: src/test/java/kr/allcll/seatfinder/star/StarServiceTest.java#L37
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
StarServiceTest.등록된 즐겨찾기가 존재할 때 조회 기능을 테스트한다.: src/test/java/kr/allcll/seatfinder/star/StarServiceTest.java#L37
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
StarServiceTest.이미 즐겨찾기 등록된 과목일 경우 예외를 검증한다.: src/test/java/kr/allcll/seatfinder/star/StarServiceTest.java#L37
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
StarServiceTest.등록된 즐겨찾기가 존재할 때 예외가 발생하지 않음을 검증한다.: src/test/java/kr/allcll/seatfinder/star/StarServiceTest.java#L37
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
StarServiceTest.즐겨찾기 되지 않은 않는 과목의 즐겨찾기를 삭제할 때에도 예외가 발생하지 않음을 검증한다.: src/test/java/kr/allcll/seatfinder/star/StarServiceTest.java#L37
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
StarServiceTest.즐겨찾기의 삭제를 검증한다.: src/test/java/kr/allcll/seatfinder/star/StarServiceTest.java#L37
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
StarServiceTest.존재 하지 않는 토큰의 즐겨찾기를 삭제할 때에도 예외가 발생하지 않음을 검증한다.: src/test/java/kr/allcll/seatfinder/star/StarServiceTest.java#L37
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
SubjectServiceTest.과목명으로 과목을 조회한다.: src/test/java/kr/allcll/seatfinder/subject/SubjectServiceTest.java#L32
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
SubjectServiceTest.학수번호, 분반, 교수명으로 과목을 조회한다.: src/test/java/kr/allcll/seatfinder/subject/SubjectServiceTest.java#L32
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
SubjectServiceTest.존재하지 않는 조건으로 과목을 조회한다.: src/test/java/kr/allcll/seatfinder/subject/SubjectServiceTest.java#L32
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
SubjectServiceTest.전체 과목을 조회한다.: src/test/java/kr/allcll/seatfinder/subject/SubjectServiceTest.java#L32
org.springframework.dao.InvalidDataAccessResourceUsageException: could not prepare statement [Table "STARS" not found (this database is empty); SQL statement: delete from stars s1_0 [42104-232]] [delete from stars s1_0]; SQL [delete from stars s1_0]
test
Process completed with exit code 1.
즐겨찾기의 삭제를 검증한다. (kr.allcll.seatfinder.star.StarServiceTest) failed: kr.allcll.seatfinder.star.StarServiceTest#L0
build/test-results/test/TEST-kr.allcll.seatfinder.star.StarServiceTest.xml [took 0s]
SSE를 연결하고, 최초 메시지를 받는다. (kr.allcll.seatfinder.sse.SseServiceTest) failed: kr.allcll.seatfinder.sse.SseServiceTest#L0
build/test-results/test/TEST-kr.allcll.seatfinder.sse.SseServiceTest.xml [took 0s]
Server Sent Event를 연결한다. (kr.allcll.seatfinder.sse.SseApiTest) failed: kr.allcll.seatfinder.sse.SseApiTest#L0
build/test-results/test/TEST-kr.allcll.seatfinder.sse.SseApiTest.xml [took 0s]
과목명으로 과목을 조회한다. (kr.allcll.seatfinder.subject.SubjectServiceTest) failed: kr.allcll.seatfinder.subject.SubjectServiceTest#L0
build/test-results/test/TEST-kr.allcll.seatfinder.subject.SubjectServiceTest.xml [took 0s]
존재하지 않는 조건으로 과목을 조회한다. (kr.allcll.seatfinder.subject.SubjectServiceTest) failed: kr.allcll.seatfinder.subject.SubjectServiceTest#L0
build/test-results/test/TEST-kr.allcll.seatfinder.subject.SubjectServiceTest.xml [took 0s]
전체 과목을 조회한다. (kr.allcll.seatfinder.subject.SubjectServiceTest) failed: kr.allcll.seatfinder.subject.SubjectServiceTest#L0
build/test-results/test/TEST-kr.allcll.seatfinder.subject.SubjectServiceTest.xml [took 0s]