[ https://issues.apache.org/jira/browse/SLING-6155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Seifert updated SLING-6155: ---------------------------------- Fix Version/s: (was: Context-Aware Configuration API 1.1.0) Context-Aware Configuration Impl 1.1.0 > Context-Aware Config: Integration Test unstable on Apache Jenkins > ----------------------------------------------------------------- > > Key: SLING-6155 > URL: https://issues.apache.org/jira/browse/SLING-6155 > Project: Sling > Issue Type: Bug > Components: Extensions > Reporter: Stefan Seifert > Priority: Minor > Labels: contextaware-config, integration-test > Fix For: Context-Aware Configuration Impl 1.1.0 > > > the integration tests for context-aware config are currently flaky for java > 1.7 (but run smooth with java 1.8). i cannot reproduce the problem when > running them locally with java 1.7. > example: > https://builds.apache.org/job/sling-contrib-extensions-contextaware-config-integration-tests-1.7/11/console > seems to be a startup racing condition with getting the resource > resolver/root resource. > {noformat} > Results : > Tests in error: > AdaptToConfigClassIT.setUp:54 » IllegalState Cannot read root resource > ConfigurationManagerIT.setUp:69 » IllegalState Cannot read root resource > ConfigurationManagerIT.setUp:69 » IllegalState Cannot read root resource > ConfigurationManagerIT.setUp:69 » IllegalState Cannot read root resource > ConfigurationManagerIT.setUp:69 » IllegalState Cannot read root resource > org.apache.sling.contextaware.config.it.ConfigurationResolverConfigClassIT.testExistingConfig(org.apache.sling.contextaware.config.it.ConfigurationResolverConfigClassIT) > Run 1: ConfigurationResolverConfigClassIT.setUp:53 » IllegalState unable to > get a ser... > Run 2: ConfigurationResolverConfigClassIT.tearDown:59 » NullPointer > org.apache.sling.contextaware.config.it.ConfigurationResolverConfigClassIT.testNonExistingConfig(org.apache.sling.contextaware.config.it.ConfigurationResolverConfigClassIT) > Run 1: ConfigurationResolverConfigClassIT.setUp:53 » IllegalState unable to > get a ser... > Run 2: ConfigurationResolverConfigClassIT.tearDown:59 » NullPointer > org.apache.sling.contextaware.config.it.ConfigurationResolverValueMapIT.testExistingConfig(org.apache.sling.contextaware.config.it.ConfigurationResolverValueMapIT) > Run 1: ConfigurationResolverValueMapIT.setUp:53 » IllegalState unable to > get a servic... > Run 2: ConfigurationResolverValueMapIT.tearDown:59 » NullPointer > org.apache.sling.contextaware.config.it.ConfigurationResolverValueMapIT.testNonExistingConfig(org.apache.sling.contextaware.config.it.ConfigurationResolverValueMapIT) > Run 1: ConfigurationResolverValueMapIT.setUp:53 » IllegalState unable to > get a servic... > Run 2: ConfigurationResolverValueMapIT.tearDown:59 » NullPointer > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)