[ https://issues.apache.org/jira/browse/STORM-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Joseph Evans resolved STORM-2874. ---------------------------------------- Resolution: Fixed Fix Version/s: 1.0.6 1.1.2 1.2.0 Thanks [~Srdo], I merged this into all of the 1.x releases > Minor style improvements to backpressure code > --------------------------------------------- > > Key: STORM-2874 > URL: https://issues.apache.org/jira/browse/STORM-2874 > Project: Apache Storm > Issue Type: Task > Components: storm-client > Affects Versions: 1.2.0 > Reporter: Stig Rohde Døssing > Assignee: Stig Rohde Døssing > Priority: Trivial > Labels: pull-request-available > Fix For: 1.2.0, 1.1.2, 1.0.6 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > The WorkerBackpressureThreadTest uses looped sleep-and-check on an AtomicLong > to verify that the callback is called after notifying the trigger. We should > use a countdown latch for this instead. > The WorkerBackpressureThreadTest extends TestCase, which is a bad idea > because it makes the JUnit 4 annotations non-functional. -- This message was sent by Atlassian JIRA (v6.4.14#64029)