Github user zhuoliu commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1232#discussion_r57397001
  
    --- Diff: 
storm-core/test/jvm/org/apache/storm/scheduler/resource/TestUtilsForResourceAwareScheduler.java
 ---
    @@ -109,7 +112,7 @@
         public static Map<ExecutorDetails, String> 
genExecsAndComps(StormTopology topology, int spoutParallelism, int 
boltParallelism) {
             Map<ExecutorDetails, String> retMap = new HashMap<ExecutorDetails, 
String>();
             int startTask = 0;
    -        int endTask = 1;
    +        int endTask = 0;
    --- End diff --
    
    This corrects the executor number in tests to be [0,0] [1,1]; which used to 
be [0, 1] [1,2], not actually what we have in Storm.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to