MormonJesus69420 is deploying the project #333
deploy-project.yaml
on: pull_request
Build and Test the Project
1m 31s
Deploy to Kubernetes Prod
0s
Deploy to Kubernetes Stage
0s
Annotations
3 errors and 1 warning
no.nb.mlt.wls.synq.controller.SynqControllerTest ► :
src/main/kotlin/no/nb/mlt/wls/application/hostapi/config/SecurityConfig.kt#L48
Failed test found in:
target/surefire-reports/TEST-no.nb.mlt.wls.synq.controller.SynqControllerTest.xml
Error:
org.junit.jupiter.api.extension.ParameterResolutionException: Failed to resolve parameter [no.nb.mlt.wls.infrastructure.repositories.item.ItemMongoRepository itemRepository] in constructor [public no.nb.mlt.wls.synq.controller.SynqControllerTest(no.nb.mlt.wls.infrastructure.repositories.item.ItemMongoRepository,no.nb.mlt.wls.infrastructure.repositories.order.OrderMongoRepository,org.springframework.context.ApplicationContext)]: Failed to load ApplicationContext for [ReactiveWebMergedContextConfiguration@5e23d0db testClass = no.nb.mlt.wls.synq.controller.SynqControllerTest, locations = [], classes = [no.nb.mlt.wls.HermesApplication], contextInitializerClasses = [no.nb.mlt.wls.TestcontainerInitializer], activeProfiles = ["local-dev"], propertySourceDescriptors = [], propertySourceProperties = ["org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true", "server.port=0"], contextCustomizers = [[ImportsContextCustomizer@7d0c21 key = [@no.nb.mlt.wls.EnableTestcontainers(), @org.springframework.test.context.ActiveProfiles(inheritProfiles=true, profiles={"local-dev"}, resolver=org.springframework.test.context.ActiveProfilesResolver.class, value={"local-dev"}), @org.springframework.context.annotation.Import(value={org.springframework.data.mongodb.repository.config.MongoRepositoriesRegistrar.class}), @org.springframework.boot.autoconfigure.ImportAutoConfiguration(classes={}, exclude={}, value={}), @org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient(timeout=""), @org.springframework.boot.test.context.SpringBootTest(args={}, classes={}, properties={}, useMainMethod=NEVER, value={}, webEnvironment=RANDOM_PORT), @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"}), @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.test.context.BootstrapWith(value=org.springframework.boot.test.context.SpringBootTestContextBootstrapper.class), @org.springframework.context.annotation.Import(value={org.springframework.boot.autoconfigure.ImportAutoConfigurationImportSelector.class}), @org.springframework.boot.test.autoconfigure.properties.PropertyMapping(skip=NO, value="spring.test.webtestclient"), @org.apiguardian.api.API(consumers={"*"}, since="5.0", status=STABLE)]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@41ece227, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@12209826, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5238896f, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@6f986501, org.springframework.boot.test.autoconfigure.actuate.observability.ObservabilityContextCustomizerFactory$DisableObservabilityContextCustomizer@1f, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@ec54a5c9, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizer@7bfa1eb5, MockkContextCustomizer(definitions=[[MockkDefinition@57e9122f name = [null], typeToMock = no.nb.mlt.wls.infrastructure.callbacks.InventoryNotifierAdapter, extraInterfaces = set[[empty]], clear = AFTER]]), org.springframework.boot.test.context.SpringBootTestAnnotation@3327dbe8], 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
|
Build and Test the Project
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.319.1. Please update to the latest version 2.320.0
|