brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] incubator-brooklyn pull request: Tasks stop on unmanaged
Date Fri, 17 Oct 2014 09:24:48 GMT
Github user ahgittin commented on a diff in the pull request:

    https://github.com/apache/incubator-brooklyn/pull/252#discussion_r19008650
  
    --- Diff: core/src/test/java/brooklyn/management/internal/EntityExecutionManagerTest.java
---
    @@ -336,8 +337,8 @@ public void testUnmanagedEntityGcedOnUnmanageEvenIfEffectorInvoked()
throws Exce
             
             BasicAttributeSensor<Object> byteArrayAttrib = new BasicAttributeSensor<Object>(Object.class,
"test.byteArray", "");
     
    -        for (int i = 0; i < 1000; i++) {
    -            if (i%100==0) LOG.info(JavaClassNames.niceClassAndMethod()+": iteration "+i);
    +        for (int i = 0; i < 200; i++) {
    --- End diff --
    
    you're right, works fine without the extra `gc` calls, have reverted to 1000 and commented
out that line w explanation


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message