File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
common/src/test/java/org/astraea/common/cost Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -84,9 +84,9 @@ void testMostCost() {
8484 var before = of (before (), brokers ());
8585 var after = of (after (), brokers ());
8686 var timeLimit =
87- Configuration . of (Map .of (PartitionMigrateTimeCost .MAX_MIGRATE_TIME_KEY , "20000" ));
87+ new Configuration (Map .of (PartitionMigrateTimeCost .MAX_MIGRATE_TIME_KEY , "20000" ));
8888 var overFlowTimeLimit =
89- Configuration . of (Map .of (PartitionMigrateTimeCost .MAX_MIGRATE_TIME_KEY , "19999" ));
89+ new Configuration (Map .of (PartitionMigrateTimeCost .MAX_MIGRATE_TIME_KEY , "19999" ));
9090 var cf = new PartitionMigrateTimeCost (timeLimit );
9191 var overFlowCf = new PartitionMigrateTimeCost (overFlowTimeLimit );
9292 var moveCost = cf .moveCost (before , after , clusterBean ());
You can’t perform that action at this time.
0 commit comments