brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [8/9] brooklyn-server git commit: slow tests moved to integration group
Date Mon, 13 Feb 2017 06:26:48 GMT
slow tests moved to integration group


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

Branch: refs/heads/master
Commit: 29191b76b403a5fea58e0e4fcab9a7eb926bbe8c
Parents: f73d2c8
Author: Alex Heneveld <alex@Alexs-MacBook-Pro.local>
Authored: Wed Dec 7 00:46:13 2016 +0000
Committer: Aled Sage <aled.sage@gmail.com>
Committed: Fri Feb 10 22:16:09 2017 +0000

----------------------------------------------------------------------
 .../java/org/apache/brooklyn/feed/function/FunctionFeedTest.java   | 2 +-
 .../policy/InvokeEffectorOnCollectionSensorChangeTest.java         | 2 +-
 .../java/org/apache/brooklyn/policy/ha/ServiceReplacerTest.java    | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/29191b76/core/src/test/java/org/apache/brooklyn/feed/function/FunctionFeedTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/brooklyn/feed/function/FunctionFeedTest.java b/core/src/test/java/org/apache/brooklyn/feed/function/FunctionFeedTest.java
index 19fc3d6..820757e 100644
--- a/core/src/test/java/org/apache/brooklyn/feed/function/FunctionFeedTest.java
+++ b/core/src/test/java/org/apache/brooklyn/feed/function/FunctionFeedTest.java
@@ -128,7 +128,7 @@ public class FunctionFeedTest extends BrooklynAppUnitTestSupport {
         Assert.assertFalse(feedAdded==feed0);
     }
     
-    @Test
+    @Test(groups="Integration")  // because slow
     public void testFeedDeDupeIgnoresSameObject() throws Exception {
         testPollsFunctionRepeatedlyToSetAttribute();
         entity.addFeed(feed);

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/29191b76/core/src/test/java/org/apache/brooklyn/policy/InvokeEffectorOnCollectionSensorChangeTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/org/apache/brooklyn/policy/InvokeEffectorOnCollectionSensorChangeTest.java
b/core/src/test/java/org/apache/brooklyn/policy/InvokeEffectorOnCollectionSensorChangeTest.java
index 49d8c33..ac03b33 100644
--- a/core/src/test/java/org/apache/brooklyn/policy/InvokeEffectorOnCollectionSensorChangeTest.java
+++ b/core/src/test/java/org/apache/brooklyn/policy/InvokeEffectorOnCollectionSensorChangeTest.java
@@ -136,7 +136,7 @@ public class InvokeEffectorOnCollectionSensorChangeTest extends BrooklynAppUnitT
                 Predicates.<Collection<Object>>equalTo(ImmutableSet.<Object>of(4,
5)));
     }
 
-    @Test
+    @Test(groups="Integration")  // because slow
     public void testNothingHappensWhenSensorRepublishedUnchanged() {
         final ImmutableSet<Integer> input1 = ImmutableSet.of(1, 2, 3);
         testEntity.sensors().set(DEFAULT_SENSOR, input1);

http://git-wip-us.apache.org/repos/asf/brooklyn-server/blob/29191b76/policy/src/test/java/org/apache/brooklyn/policy/ha/ServiceReplacerTest.java
----------------------------------------------------------------------
diff --git a/policy/src/test/java/org/apache/brooklyn/policy/ha/ServiceReplacerTest.java b/policy/src/test/java/org/apache/brooklyn/policy/ha/ServiceReplacerTest.java
index ff41f84..4aead1a 100644
--- a/policy/src/test/java/org/apache/brooklyn/policy/ha/ServiceReplacerTest.java
+++ b/policy/src/test/java/org/apache/brooklyn/policy/ha/ServiceReplacerTest.java
@@ -124,7 +124,7 @@ public class ServiceReplacerTest {
             }});
     }
 
-    @Test(invocationCount=100)
+    @Test(invocationCount=100, groups="Integration")
     public void testSetsOnFireWhenFailToReplaceMemberManyTimes() throws Exception {
         testSetsOnFireWhenFailToReplaceMember();
     }


Mime
View raw message