Skip to content

Commit 6df0a15

Browse files
committed
fix conflict
1 parent c27fe29 commit 6df0a15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

common/src/test/java/org/astraea/common/cost/PartitionMigrateTimeCostTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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());

0 commit comments

Comments
 (0)