Skip to content

Commit

Permalink
Solved the merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
chiacyu committed Apr 15, 2024
1 parent 3855c31 commit a04e025
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ public void testAssignmentAggregation() throws InterruptedException {
manager.onAssignment(new TopicIdPartition(TOPIC_1, 3), DIR_3, "testAssignmentAggregation", () -> { });
manager.onAssignment(new TopicIdPartition(TOPIC_1, 4), DIR_1, "testAssignmentAggregation", () -> { });
manager.onAssignment(new TopicIdPartition(TOPIC_2, 5), DIR_2, "testAssignmentAggregation", () -> { });
while (!readyToAssert.await(1, TimeUnit.MILLISECONDS)) {
TestUtils.waitForCondition(() -> {
time.sleep(100);
manager.wakeup();
return readyToAssert.await(1, TimeUnit.MILLISECONDS);
Expand Down Expand Up @@ -250,7 +250,7 @@ void testRequeuesFailedAssignmentPropagations() throws InterruptedException {
any(ControllerRequestCompletionHandler.class));

manager.onAssignment(new TopicIdPartition(TOPIC_1, 1), DIR_1, "testRequeuesFailedAssignmentPropagations", () -> { });
while (!readyToAssert.await(1, TimeUnit.MILLISECONDS)) {
TestUtils.waitForCondition(() -> {
time.sleep(TimeUnit.SECONDS.toMillis(1));
manager.wakeup();
return readyToAssert.await(1, TimeUnit.MILLISECONDS);
Expand Down

0 comments on commit a04e025

Please sign in to comment.