Skip to content

Commit 29191b7

Browse files
Alex Heneveldaledsage
authored andcommitted
slow tests moved to integration group
1 parent f73d2c8 commit 29191b7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

core/src/test/java/org/apache/brooklyn/feed/function/FunctionFeedTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public void testFeedDeDupe() throws Exception {
128128
Assert.assertFalse(feedAdded==feed0);
129129
}
130130

131-
@Test
131+
@Test(groups="Integration") // because slow
132132
public void testFeedDeDupeIgnoresSameObject() throws Exception {
133133
testPollsFunctionRepeatedlyToSetAttribute();
134134
entity.addFeed(feed);

core/src/test/java/org/apache/brooklyn/policy/InvokeEffectorOnCollectionSensorChangeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public void testSeveralItemsAddedAndRemovedAtOnce() throws Exception {
136136
Predicates.<Collection<Object>>equalTo(ImmutableSet.<Object>of(4, 5)));
137137
}
138138

139-
@Test
139+
@Test(groups="Integration") // because slow
140140
public void testNothingHappensWhenSensorRepublishedUnchanged() {
141141
final ImmutableSet<Integer> input1 = ImmutableSet.of(1, 2, 3);
142142
testEntity.sensors().set(DEFAULT_SENSOR, input1);

policy/src/test/java/org/apache/brooklyn/policy/ha/ServiceReplacerTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public void testReplacesFailedMember() throws Exception {
124124
}});
125125
}
126126

127-
@Test(invocationCount=100)
127+
@Test(invocationCount=100, groups="Integration")
128128
public void testSetsOnFireWhenFailToReplaceMemberManyTimes() throws Exception {
129129
testSetsOnFireWhenFailToReplaceMember();
130130
}

0 commit comments

Comments
 (0)