You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2018/06/15 18:23:49 UTC
[sling-org-apache-sling-karaf-integration-tests] branch master
updated (c76d911 -> c7bf23b)
This is an automated email from the ASF dual-hosted git repository.
olli pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git.
from c76d911 Updating badges for org-apache-sling-karaf-integration-tests
new 0e78d3f SLING-7737 Provide Context-Aware Configuration feature
new c7bf23b downgrade de.flapdoodle.embed.mongo due to zombie processes
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
pom.xml | 3 ++-
.../{SlingEventIT.java => SlingCaconfigIT.java} | 16 ++++++++--------
2 files changed, 10 insertions(+), 9 deletions(-)
copy src/test/java/org/apache/sling/karaf/tests/bootstrap/{SlingEventIT.java => SlingCaconfigIT.java} (79%)
--
To stop receiving notification emails like this one, please contact
olli@apache.org.
[sling-org-apache-sling-karaf-integration-tests] 01/02: SLING-7737
Provide Context-Aware Configuration feature
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git
commit 0e78d3f1d52a45c16ea80e2a31ae2edfee3f3515
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Jun 15 13:37:31 2018 +0200
SLING-7737 Provide Context-Aware Configuration feature
---
.../karaf/tests/bootstrap/SlingCaconfigIT.java | 67 ++++++++++++++++++++++
1 file changed, 67 insertions(+)
diff --git a/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingCaconfigIT.java b/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingCaconfigIT.java
new file mode 100644
index 0000000..65c8e18
--- /dev/null
+++ b/src/test/java/org/apache/sling/karaf/tests/bootstrap/SlingCaconfigIT.java
@@ -0,0 +1,67 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.sling.karaf.tests.bootstrap;
+
+import org.apache.sling.karaf.testing.KarafTestSupport;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.ops4j.pax.exam.Configuration;
+import org.ops4j.pax.exam.Option;
+import org.ops4j.pax.exam.OptionUtils;
+import org.ops4j.pax.exam.junit.PaxExam;
+import org.ops4j.pax.exam.spi.reactors.ExamReactorStrategy;
+import org.ops4j.pax.exam.spi.reactors.PerClass;
+import org.osgi.framework.Bundle;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertNotNull;
+
+@RunWith(PaxExam.class)
+@ExamReactorStrategy(PerClass.class)
+public class SlingCaconfigIT extends KarafTestSupport {
+
+ @Configuration
+ public Option[] configuration() {
+ return OptionUtils.combine(baseConfiguration(),
+ addSlingFeatures("sling-caconfig")
+ );
+ }
+
+ @Test
+ public void testOrgApacheSlingCaconfigApi() {
+ final Bundle bundle = findBundle("org.apache.sling.caconfig.api");
+ assertNotNull(bundle);
+ assertEquals(Bundle.ACTIVE, bundle.getState());
+ }
+
+ @Test
+ public void testOrgApacheSlingCaconfigImpl() {
+ final Bundle bundle = findBundle("org.apache.sling.caconfig.impl");
+ assertNotNull(bundle);
+ assertEquals(Bundle.ACTIVE, bundle.getState());
+ }
+
+ @Test
+ public void testOrgApacheSlingCaconfigSpi() {
+ final Bundle bundle = findBundle("org.apache.sling.caconfig.spi");
+ assertNotNull(bundle);
+ assertEquals(Bundle.ACTIVE, bundle.getState());
+ }
+
+}
--
To stop receiving notification emails like this one, please contact
olli@apache.org.
[sling-org-apache-sling-karaf-integration-tests] 02/02: downgrade
de.flapdoodle.embed.mongo due to zombie processes
Posted by ol...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
olli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-karaf-integration-tests.git
commit c7bf23b8041a3501585839563b46b70ab21ffa78
Author: Oliver Lietz <ol...@apache.org>
AuthorDate: Fri Jun 15 13:38:53 2018 +0200
downgrade de.flapdoodle.embed.mongo due to zombie processes
---
pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index a219d25..16f29d4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -164,9 +164,10 @@
</dependency>
<!-- MongoDB -->
<dependency>
+ <!-- zombie processes like extract-fd770c28-8fb5-4092-87d5-4100c18a8f32extractmongod with versions greater 2.0.0 use 100% CPU -->
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
- <version>2.0.3</version>
+ <version>2.0.0</version>
<scope>test</scope>
</dependency>
<dependency>
--
To stop receiving notification emails like this one, please contact
olli@apache.org.