Skip to content

Regression

org.appng.core.controller.rest.openapi.OpenApiDataSourceTest.testSingleDataSource

Failing for the past 1 build (Since Failed#203 )
Took 0.19 sec.

Error Message

expected:<..."
  },
  "statusCode[" : "OK",
  "statusCodeValue" : 200]
}> but was:<..."
  },
  "statusCode[Value" : 200,
  "statusCode" : "OK"]
}>

Stacktrace

org.junit.ComparisonFailure: 
expected:<..."
  },
  "statusCode[" : "OK",
  "statusCodeValue" : 200]
}> but was:<..."
  },
  "statusCode[Value" : 200,
  "statusCode" : "OK"]
}>
	at org.appng.core.controller.rest.openapi.OpenApiDataSourceTest.testSingleDataSource(OpenApiDataSourceTest.java:60)

Standard Output

2023-04-18 17:14:18,958 INFO  [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2023-04-18 17:14:18,958 INFO  [main] org.springframework.test.context.support.DefaultTestContextBootstrapper: Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@3b4675d3, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@1e71b70d, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@46ae8bf7, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3c36f10b, org.springframework.test.context.transaction.TransactionalTestExecutionListener@3456e3b3, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@270cf3eb]
2023-04-18 17:14:18,965 INFO  [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [applications/application1/beans.xml]
2023-04-18 17:14:19,018 INFO  [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext.xml]
2023-04-18 17:14:19,031 INFO  [main] org.springframework.beans.factory.xml.XmlBeanDefinitionReader: Loading XML bean definitions from class path resource [org/appng/testsupport/application-testcontext-jpa.xml]
2023-04-18 17:14:19,043 INFO  [main] org.springframework.context.support.GenericApplicationContext: Refreshing org.springframework.context.support.GenericApplicationContext@15cf25ce: startup date [Tue Apr 18 17:14:19 CEST 2023]; root of context hierarchy
2023-04-18 17:14:19,055 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Found 0 MappingJackson2HttpMessageConverters: 
2023-04-18 17:14:19,055 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Found 0 ObjectMappers: 
2023-04-18 17:14:19,055 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Found 0 Modules: 
2023-04-18 17:14:19,056 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Found 0 @Primary Beans: 
2023-04-18 17:14:19,056 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] No ObjectMapper found in context, creating default.
2023-04-18 17:14:19,056 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] No MappingJackson2HttpMessageConverter found in context, creating default.
2023-04-18 17:14:19,056 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Registering ObjectMapper 'defaultObjectMapper'
2023-04-18 17:14:19,056 INFO  [main] org.appng.api.config.RestConfig: [localhost:demo-application] Registering MappingJackson2HttpMessageConverter 'defaultJacksonConverter'
2023-04-18 17:14:19,056 INFO  [main] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor: JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2023-04-18 17:14:19,170 INFO  [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Building JPA container EntityManagerFactory for persistence unit 'default'
2023-04-18 17:14:19,170 INFO  [main] org.hibernate.jpa.internal.util.LogHelper: HHH000204: Processing PersistenceUnitInfo [name: default]
2023-04-18 17:14:19,325 INFO  [main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.HSQLDialect
2023-04-18 17:14:19,351 INFO  [main] org.hibernate.envers.boot.internal.EnversServiceImpl: Envers integration enabled? : true
2023-04-18 17:14:19,389 INFO  [main] org.hibernate.engine.transaction.jta.platform.internal.JtaPlatformInitiator: HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform]
2023-04-18 17:14:19,390 INFO  [main] org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean: Initialized JPA EntityManagerFactory for persistence unit 'default'
2023-04-18 17:14:19,491 WARN  [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [messages-demo] not found for MessageSource: Can't find bundle for base name messages-demo, locale en
2023-04-18 17:14:19,491 WARN  [main] org.springframework.context.support.ResourceBundleMessageSource: ResourceBundle [testmessages] not found for MessageSource: Can't find bundle for base name testmessages, locale en