karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbono...@apache.org
Subject karaf git commit: [KARAF-3611] Fix BootFeaturesInstallerTest
Date Tue, 29 Sep 2015 10:19:34 GMT
Repository: karaf
Updated Branches:
  refs/heads/karaf-3.0.x ca811c329 -> 92f74a1df


[KARAF-3611] Fix BootFeaturesInstallerTest


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

Branch: refs/heads/karaf-3.0.x
Commit: 92f74a1df3665e7ad26283128c4229adfe11d804
Parents: ca811c3
Author: Jean-Baptiste Onofré <jbonofre@apache.org>
Authored: Tue Sep 29 12:18:40 2015 +0200
Committer: Jean-Baptiste Onofré <jbonofre@apache.org>
Committed: Tue Sep 29 12:18:40 2015 +0200

----------------------------------------------------------------------
 .../karaf/features/internal/BootFeaturesInstallerTest.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/92f74a1d/features/core/src/test/java/org/apache/karaf/features/internal/BootFeaturesInstallerTest.java
----------------------------------------------------------------------
diff --git a/features/core/src/test/java/org/apache/karaf/features/internal/BootFeaturesInstallerTest.java
b/features/core/src/test/java/org/apache/karaf/features/internal/BootFeaturesInstallerTest.java
index a148c40..6da8c11 100644
--- a/features/core/src/test/java/org/apache/karaf/features/internal/BootFeaturesInstallerTest.java
+++ b/features/core/src/test/java/org/apache/karaf/features/internal/BootFeaturesInstallerTest.java
@@ -50,7 +50,7 @@ public class BootFeaturesInstallerTest extends TestBase {
         expect(impl.getFeature("standard", "0.0.0")).andReturn(standardFeature);
         expect(impl.getFeature("region", "0.0.0")).andReturn(regionFeature);
 
-        impl.installFeatures(setOf(configFeature, standardFeature, regionFeature), EnumSet.of(Option.NoCleanIfFailure,
Option.ContinueBatchOnFailure));
+        impl.installFeatures(setOf(configFeature, standardFeature, regionFeature), EnumSet.of(Option.NoAutoRefreshBundles,
Option.NoCleanIfFailure, Option.ContinueBatchOnFailure));
         EasyMock.expectLastCall();
         
         replay(impl);
@@ -73,7 +73,7 @@ public class BootFeaturesInstallerTest extends TestBase {
         expect(impl.getFeature("transaction", "1.2")).andReturn(null);
         
         // Only the ssh feature should get installed
-        impl.installFeatures(setOf(sshFeature), EnumSet.of(Option.NoCleanIfFailure, Option.ContinueBatchOnFailure));
+        impl.installFeatures(setOf(sshFeature), EnumSet.of(Option.NoAutoRefreshBundles, Option.NoCleanIfFailure,
Option.ContinueBatchOnFailure));
         EasyMock.expectLastCall();
         
         replay(impl);
@@ -91,9 +91,9 @@ public class BootFeaturesInstallerTest extends TestBase {
         expect(impl.getFeature("transaction", "0.0.0")).andStubReturn(transactionFeature);
         expect(impl.getFeature("ssh", "0.0.0")).andStubReturn(sshFeature);
 
-        impl.installFeatures(setOf(transactionFeature), EnumSet.of(Option.NoCleanIfFailure,
Option.ContinueBatchOnFailure));
+        impl.installFeatures(setOf(transactionFeature), EnumSet.of(Option.NoAutoRefreshBundles,
Option.NoCleanIfFailure, Option.ContinueBatchOnFailure));
         EasyMock.expectLastCall();
-        impl.installFeatures(setOf(sshFeature), EnumSet.of(Option.NoCleanIfFailure, Option.ContinueBatchOnFailure));
+        impl.installFeatures(setOf(sshFeature), EnumSet.of(Option.NoAutoRefreshBundles, Option.NoCleanIfFailure,
Option.ContinueBatchOnFailure));
         EasyMock.expectLastCall();
         
         replay(impl);


Mime
View raw message