brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [2/3] incubator-brooklyn git commit: BindDnsServerByonLiveTest.testDns locationSpec argument is optional
Date Thu, 05 Feb 2015 11:53:54 GMT
BindDnsServerByonLiveTest.testDns locationSpec argument is optional


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

Branch: refs/heads/master
Commit: c857845acc97180dd7e0dd9faab8d3f427ca45cf
Parents: 8b44d76
Author: Sam Corbett <sam.corbett@cloudsoftcorp.com>
Authored: Wed Feb 4 17:08:25 2015 +0000
Committer: Sam Corbett <sam.corbett@cloudsoftcorp.com>
Committed: Wed Feb 4 17:08:25 2015 +0000

----------------------------------------------------------------------
 .../brooklyn/entity/network/bind/BindDnsServerByonLiveTest.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/c857845a/software/network/src/test/java/brooklyn/entity/network/bind/BindDnsServerByonLiveTest.java
----------------------------------------------------------------------
diff --git a/software/network/src/test/java/brooklyn/entity/network/bind/BindDnsServerByonLiveTest.java
b/software/network/src/test/java/brooklyn/entity/network/bind/BindDnsServerByonLiveTest.java
index a0846ae..1eed359 100644
--- a/software/network/src/test/java/brooklyn/entity/network/bind/BindDnsServerByonLiveTest.java
+++ b/software/network/src/test/java/brooklyn/entity/network/bind/BindDnsServerByonLiveTest.java
@@ -20,6 +20,7 @@ package brooklyn.entity.network.bind;
 
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
+import org.testng.annotations.Optional;
 import org.testng.annotations.Parameters;
 import org.testng.annotations.Test;
 
@@ -33,7 +34,7 @@ public class BindDnsServerByonLiveTest extends BrooklynAppLiveTestSupport
{
 
     @Test(groups = "Live")
     @Parameters({"locationSpec"})
-    public void testDns(String locationSpec) throws Exception {
+    public void testDns(@Optional String locationSpec) throws Exception {
         if (Strings.isBlank(locationSpec)) {
             LOG.info("{} got no spec, skipping test", this);
         } else {


Mime
View raw message