karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject karaf git commit: Fix failing ImportServiceTest
Date Tue, 14 Jun 2016 12:15:18 GMT
Repository: karaf
Updated Branches:
  refs/heads/master 822878298 -> 64093884c


Fix failing ImportServiceTest


Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/64093884
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/64093884
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/64093884

Branch: refs/heads/master
Commit: 64093884c1aafe36350cd366c1ad431289b4d9b2
Parents: 8228782
Author: Guillaume Nodet <gnodet@apache.org>
Authored: Tue Jun 14 14:15:01 2016 +0200
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Tue Jun 14 14:15:01 2016 +0200

----------------------------------------------------------------------
 .../src/test/java/org/apache/karaf/itests/ImportServiceTest.java   | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/64093884/itests/src/test/java/org/apache/karaf/itests/ImportServiceTest.java
----------------------------------------------------------------------
diff --git a/itests/src/test/java/org/apache/karaf/itests/ImportServiceTest.java b/itests/src/test/java/org/apache/karaf/itests/ImportServiceTest.java
index c7cde9f..734edd4 100644
--- a/itests/src/test/java/org/apache/karaf/itests/ImportServiceTest.java
+++ b/itests/src/test/java/org/apache/karaf/itests/ImportServiceTest.java
@@ -44,12 +44,14 @@ public class ImportServiceTest extends KarafTestSupport {
             .set("Import-Service", "FooService")
             .set("Bundle-SymbolicName", BUNDLE1_NAME)
             .set("Bundle-Version", "1.0.0")
+            .set("Bundle-ManifestVersion", "2")
             .build();
         options.add(CoreOptions.streamBundle(testBundleImportService));
         InputStream testBundleRequireService = bundle()
             .set("Require-Capability", "osgi.service;effective:=active;filter:=\"(objectClass=FooService)\"")
             .set("Bundle-SymbolicName", BUNDLE2_NAME)
             .set("Bundle-Version", "1.0.0")
+            .set("Bundle-ManifestVersion", "2")
             .build();
         options.add(CoreOptions.streamBundle(testBundleRequireService));
         return options.toArray(new Option[] {});


Mime
View raw message