brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aleds...@apache.org
Subject [10/13] brooklyn-server git commit: Fixes jclouds unit tests
Date Tue, 13 Dec 2016 15:59:04 GMT
Fixes jclouds unit tests


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

Branch: refs/heads/master
Commit: b69e1bb287ce3654d2fd20f4017533283a00ff47
Parents: 8b8b8df
Author: Mark McKenna <m4rkmckenna@gmail.com>
Authored: Mon Dec 12 15:26:12 2016 +0000
Committer: Mark McKenna <m4rkmckenna@gmail.com>
Committed: Mon Dec 12 15:26:12 2016 +0000

----------------------------------------------------------------------
 .../brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/b69e1bb2/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java
----------------------------------------------------------------------
diff --git a/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java
b/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java
index 0e7ef12..a807dc4 100644
--- a/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java
+++ b/locations/jclouds/src/test/java/org/apache/brooklyn/location/jclouds/JcloudsStubTemplateBuilder.java
@@ -102,7 +102,8 @@ public class JcloudsStubTemplateBuilder {
                 .of(HARDWARE_SUPPORTING_BOGUS));
 
 
-        AtomicReference<AuthorizationException> authException = new AtomicReference<AuthorizationException>(new
AuthorizationException());
+//        AtomicReference<AuthorizationException> authException = new AtomicReference<AuthorizationException>(new
AuthorizationException());
+        AtomicReference<AuthorizationException> authException = new AtomicReference<AuthorizationException>();
 
         com.google.inject.Provider<GetImageStrategy> imageLoader = new com.google.inject.Provider<GetImageStrategy>()
{
             @Override


Mime
View raw message