You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by gr...@apache.org on 2015/04/15 17:04:44 UTC

[1/2] incubator-brooklyn git commit: Riak - Add SoftlayerTest

Repository: incubator-brooklyn
Updated Branches:
  refs/heads/master 10853fc04 -> c43a619bf


Riak - Add SoftlayerTest


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

Branch: refs/heads/master
Commit: 23817b4a0cd6fcc4c4ea2c79935dbda8e285181b
Parents: 4f6fa6c
Author: Valentin Aitken <va...@cloudsoftcorp.com>
Authored: Tue Apr 14 17:10:22 2015 +0300
Committer: Valentin Aitken <va...@cloudsoftcorp.com>
Committed: Tue Apr 14 17:10:22 2015 +0300

----------------------------------------------------------------------
 .../nosql/riak/RiakNodeSoftlayerLiveTest.java   | 42 ++++++++++++++++++++
 1 file changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/23817b4a/software/nosql/src/test/java/brooklyn/entity/nosql/riak/RiakNodeSoftlayerLiveTest.java
----------------------------------------------------------------------
diff --git a/software/nosql/src/test/java/brooklyn/entity/nosql/riak/RiakNodeSoftlayerLiveTest.java b/software/nosql/src/test/java/brooklyn/entity/nosql/riak/RiakNodeSoftlayerLiveTest.java
new file mode 100644
index 0000000..3ddd4b8
--- /dev/null
+++ b/software/nosql/src/test/java/brooklyn/entity/nosql/riak/RiakNodeSoftlayerLiveTest.java
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package brooklyn.entity.nosql.riak;
+
+import brooklyn.entity.AbstractSoftlayerLiveTest;
+import brooklyn.entity.proxying.EntitySpec;
+import brooklyn.location.Location;
+import brooklyn.test.EntityTestUtils;
+import com.google.common.collect.ImmutableList;
+import org.testng.annotations.BeforeMethod;
+
+public class RiakNodeSoftlayerLiveTest extends AbstractSoftlayerLiveTest {
+
+    @BeforeMethod(alwaysRun=true)
+    public void setUp() throws Exception {
+        super.setUp();
+    }
+
+    @Override
+    protected void doTest(Location loc) throws Exception {
+        RiakNode entity = app.createAndManageChild(EntitySpec.create(RiakNode.class));
+        app.start(ImmutableList.of(loc));
+
+        EntityTestUtils.assertAttributeEqualsEventually(entity, RiakNode.SERVICE_UP, true);
+    }
+}


[2/2] incubator-brooklyn git commit: This closes #597

Posted by gr...@apache.org.
This closes #597

* github/pr/597:
  Riak - Add SoftlayerTest


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

Branch: refs/heads/master
Commit: c43a619bfe67969ff358bd7c49a1d9f6e7f8c622
Parents: 10853fc 23817b4
Author: Andrew Kennedy <gr...@apache.org>
Authored: Wed Apr 15 10:04:41 2015 -0500
Committer: Andrew Kennedy <gr...@apache.org>
Committed: Wed Apr 15 10:04:41 2015 -0500

----------------------------------------------------------------------
 .../nosql/riak/RiakNodeSoftlayerLiveTest.java   | 42 ++++++++++++++++++++
 1 file changed, 42 insertions(+)
----------------------------------------------------------------------