brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <...@git.apache.org>
Subject [GitHub] brooklyn-server issue #816: Tasks code improvements - prep for better presen...
Date Fri, 15 Sep 2017 09:53:20 GMT
Github user ahgittin commented on the issue:

    https://github.com/apache/brooklyn-server/pull/816
  
    curious test failure after https://github.com/apache/brooklyn-server/pull/816/commits/c1f78bb2ba82504b2f0bfc1aa4831564d1f314b4
    
    but can't reproduce locally; even added another test for one particular race
    
    ```
    Error Message
    
    did not get data for 'before' in time
    Stacktrace
    
    java.lang.AssertionError: did not get data for 'before' in time
    	at org.apache.brooklyn.util.core.task.BasicTasksFutureTest.assertSoonGetsData(BasicTasksFutureTest.java:149)
    	at org.apache.brooklyn.util.core.task.BasicTasksFutureTest.doTestCancelTriggersListenableFuture(BasicTasksFutureTest.java:204)
    	at org.apache.brooklyn.util.core.task.BasicTasksFutureTest.testCancelImmediateTriggersListenableFuture(BasicTasksFutureTest.java:185)
    Standard Output
    
    2017-09-15 09:35:19,688 INFO  TESTNG PASSED: "Surefire test" - org.apache.brooklyn.util.core.task.BasicTasksFutureTest.testCancelAfterStartTriggersListenableFuture()
finished in 53 ms
    2017-09-15 09:35:19,688 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.util.core.task.BasicTasksFutureTest.tearDown()
    2017-09-15 09:35:19,688 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @AfterMethod
org.apache.brooklyn.util.core.task.BasicTasksFutureTest.tearDown() finished in 0 ms
    2017-09-15 09:35:19,688 INFO  TESTNG INVOKING CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.util.core.task.BasicTasksFutureTest.setUp()
    2017-09-15 09:35:19,688 INFO  TESTNG PASSED CONFIGURATION: "Surefire test" - @BeforeMethod
org.apache.brooklyn.util.core.task.BasicTasksFutureTest.setUp() finished in 0 ms
    2017-09-15 09:35:19,688 INFO  TESTNG INVOKING: "Surefire test" - org.apache.brooklyn.util.core.task.BasicTasksFutureTest.testCancelImmediateTriggersListenableFuture()
    2017-09-15 09:35:19,689 INFO  test cancelling Task[DstJob:o5YU7xJz]@o5YU7xJz (class org.apache.brooklyn.util.core.task.DynamicSequentialTask)
after 0ms
    ```



---

Mime
View raw message