bipinprasad commented on a change in pull request #3215: Storm3585 - New 
compact Constraint config including maxNodeCoLocationCnt and 
incompatibleComponents
URL: https://github.com/apache/storm/pull/3215#discussion_r389870997
 
 

 ##########
 File path: 
storm-server/src/test/java/org/apache/storm/scheduler/resource/strategies/scheduling/TestConstraintSolverStrategy.java
 ##########
 @@ -159,12 +316,30 @@ public void testConstraintSolverForceBacktrack() {
                 return super.sortByValues(map).descendingMap();
             }
         };
-        basicUnitTestWithKillAndRecover(cs, BACKTRACK_BOLT_PARALLEL);
+        basicUnitTestWithKillAndRecover(cs, BACKTRACK_BOLT_PARALLEL, 2);
+    }
+
+    @Test
+    public void testConstraintSolverForceBacktrackWithSpreadCoLocation() {
 
 Review comment:
   Also added Assertion to check for invalid test case (i.e. when 
maxCoLocationCnt is set to > 1 and testing under old config scenario.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to