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

    https://github.com/apache/storm/pull/2419#discussion_r151636460
  
    --- Diff: 
storm-server/src/test/java/org/apache/storm/scheduler/resource/strategies/scheduling/TestGenericResourceAwareStrategy.java
 ---
    @@ -187,16 +199,21 @@ public void testGenericResourceAwareStrategy() {
             rs.prepare(conf);
             rs.schedule(topologies, cluster);
     
    +        //We need to have 3 slots on 3 separate hosts to make the GPU 
situation work
    +
             HashSet<HashSet<ExecutorDetails>> expectedScheduling = new 
HashSet<>();
    -        expectedScheduling.add(new HashSet<>(Arrays.asList(new 
ExecutorDetails(0, 0)))); //Spout
    +        expectedScheduling.add(new HashSet<>(Arrays.asList(new 
ExecutorDetails(3, 3)))); //bolt-3 - 500 MB, 50% CPU, 2 GPU
    --- End diff --
    
    Why is bolt 3 task 3 and 4 instead of 5 and 6 as before?


---

Reply via email to