This is an automated email from the ASF dual-hosted git repository.
heneveld pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/brooklyn-server.git
The following commit(s) were added to refs/heads/master by this push:
new dc7f10f fix lower bound in non-deterministic GC test
dc7f10f is described below
commit dc7f10fcec0fe3cc54def96b56598dd76579991d
Author: Alex Heneveld <[email protected]>
AuthorDate: Mon Nov 15 09:59:19 2021 +0000
fix lower bound in non-deterministic GC test
---
.../apache/brooklyn/core/mgmt/internal/EntityExecutionManagerTest.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/core/src/test/java/org/apache/brooklyn/core/mgmt/internal/EntityExecutionManagerTest.java
b/core/src/test/java/org/apache/brooklyn/core/mgmt/internal/EntityExecutionManagerTest.java
index db59b81..b791daa 100644
---
a/core/src/test/java/org/apache/brooklyn/core/mgmt/internal/EntityExecutionManagerTest.java
+++
b/core/src/test/java/org/apache/brooklyn/core/mgmt/internal/EntityExecutionManagerTest.java
@@ -306,7 +306,8 @@ public class EntityExecutionManagerTest extends
BrooklynAppUnitTestSupport {
((BrooklynProperties)app.getManagementContext().getConfig()).put(
BrooklynGarbageCollector.MAX_TASKS_PER_ENTITY, 5);
forceGc();
- assertNonSystemTaskCountForEntityEventuallyIsInRange(e, 4, 5);
+ // seems sometimes to go down to 2 ... but it's the max we care about
i think
+ assertNonSystemTaskCountForEntityEventuallyIsInRange(e, 0, 5);
}
public void testGcDynamicTaskAtNormalTagLimit() throws Exception {