anotheroneofthese is deploying the project #203
deploy-project.yaml
on: pull_request
Build and Test the Project
1m 14s
Deploy to Kubernetes Prod
0s
Deploy to Kubernetes Stage
0s
Annotations
3 errors
no.nb.mlt.wls.controller.ProductControllerTest ► saveProductTest:
target/surefire-reports/TEST-no.nb.mlt.wls.controller.ProductControllerTest.xml#L0
Failed test found in:
target/surefire-reports/TEST-no.nb.mlt.wls.controller.ProductControllerTest.xml
Error:
java.lang.IllegalStateException: Failed to load ApplicationContext for [ReactiveWebMergedContextConfiguration@477bea57 testClass = no.nb.mlt.wls.controller.ProductControllerTest, locations = [], classes = [no.nb.mlt.wls.HermesApplication], contextInitializerClasses = [no.nb.mlt.wls.TestcontainerInitializer], activeProfiles = [], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true"], contextCustomizers = [[ImportsContextCustomizer@5dc7391e key = [@no.nb.mlt.wls.EnableTestcontainers(), @org.springframework.test.context.ContextConfiguration(classes={}, inheritInitializers=true, inheritLocations=true, initializers={no.nb.mlt.wls.TestcontainerInitializer.class}, loader=org.springframework.test.context.ContextLoader.class, locations={}, name="", value={}), @org.springframework.context.annotation.Import(value={org.springframework.data.mongodb.repository.config.MongoRepositoriesRegistrar.class}), @org.springframework.boot.test.context.SpringBootTest(args={}, classes={}, properties={}, useMainMethod=NEVER, value={}, webEnvironment=MOCK), @org.apiguardian.api.API(consumers={"*"}, since="5.0", status=STABLE), @org.springframework.data.mongodb.repository.config.EnableMongoRepositories(basePackageClasses={}, basePackages={}, considerNestedRepositories=false, createIndexesForQueryMethods=false, excludeFilters={}, includeFilters={}, mongoTemplateRef="mongoTemplate", namedQueriesLocation="", queryLookupStrategy=CREATE_IF_NOT_FOUND, repositoryBaseClass=org.springframework.data.repository.config.DefaultRepositoryBaseClass.class, repositoryFactoryBeanClass=org.springframework.data.mongodb.repository.support.MongoRepositoryFactoryBean.class, repositoryImplementationPostfix="Impl", value={"no.nb.mlt.wls.product.repository"}), @org.springframework.test.context.BootstrapWith(value=org.springframework.boot.test.context.SpringBootTestContextBootstrapper.class)]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@6bc28a83, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@aec50a1, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@69adf72c, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@30c31dd7, 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@41382722, MockkContextCustomizer(definitions=[[MockkDefinition@430212cb name = [null], typeToMock = no.nb.mlt.wls.product.service.SynqService, extraInterfaces = set[[empty]], clear = AFTER]]), org.springframework.boot.test.context.SpringBootTestAnnotation@48efe397], contextLoader = org.springframework.boot.test.context.SpringBootContextLoader, parent = null]
|
Build and Test the Project
Process completed with exit code 1.
|
Build and Test the Project
Failed test were found and 'fail-on-error' option is set to true
|