From 7dc61365e4773b79acd0cf437e368657714bcd61 Mon Sep 17 00:00:00 2001 From: Jan Bartel Date: Fri, 10 Mar 2017 17:27:56 +1100 Subject: [PATCH] Issue #1387 Upgraded paxexam and osgi container. --- jetty-osgi/test-jetty-osgi/pom.xml | 28 +++++-------------- .../TestJettyOSGiBootContextAsService.java | 6 ++-- .../osgi/test/TestJettyOSGiBootCore.java | 2 +- .../osgi/test/TestJettyOSGiBootHTTP2.java | 8 ++++-- .../TestJettyOSGiBootWebAppAsService.java | 5 ++-- .../TestJettyOSGiBootWithAnnotations.java | 12 ++++---- .../osgi/test/TestJettyOSGiBootWithJsp.java | 6 ++-- .../src/test/resources/log4j.properties | 6 ++-- 8 files changed, 29 insertions(+), 44 deletions(-) diff --git a/jetty-osgi/test-jetty-osgi/pom.xml b/jetty-osgi/test-jetty-osgi/pom.xml index b8175b78350..25b4e0af047 100644 --- a/jetty-osgi/test-jetty-osgi/pom.xml +++ b/jetty-osgi/test-jetty-osgi/pom.xml @@ -14,8 +14,8 @@ ${project.groupId}.boot.test.osgi http://download.eclipse.org/jetty/orbit/ target/distribution - 4.9.2 - 1.5.2 + 4.10.0 + 2.5.2 1.0 @@ -64,30 +64,16 @@ test - - - - org.eclipse - osgi - 3.10.0-v20140606-1445 - test - - - org.eclipse.osgi + org.eclipse.platform org.eclipse.osgi.services + 3.5.100 test diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootContextAsService.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootContextAsService.java index 4028f3a8a2d..f6d5200a321 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootContextAsService.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootContextAsService.java @@ -76,10 +76,8 @@ public class TestJettyOSGiBootContextAsService // a bundle that registers a webapp as a service for the jetty osgi core // to pick up and deploy options.add(mavenBundle().groupId("org.eclipse.jetty.osgi").artifactId("test-jetty-osgi-context").versionAsInProject().start()); - - options.addAll(Arrays.asList(options(systemProperty("pax.exam.logging").value("none")))); - options.addAll(Arrays.asList(options(systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value(LOG_LEVEL)))); - options.addAll(Arrays.asList(options(systemProperty("org.eclipse.jetty.LEVEL").value(LOG_LEVEL)))); + options.add(systemProperty("org.ops4j.pax.logging.DefaultServiceLog.level").value(LOG_LEVEL)); + options.add(systemProperty("org.eclipse.jetty.LEVEL").value(LOG_LEVEL)); return options.toArray(new Option[options.size()]); } diff --git a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootCore.java b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootCore.java index 02848f5ffd6..295dac19fb5 100644 --- a/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootCore.java +++ b/jetty-osgi/test-jetty-osgi/src/test/java/org/eclipse/jetty/osgi/test/TestJettyOSGiBootCore.java @@ -90,7 +90,7 @@ public class TestJettyOSGiBootCore public static List