Updated comment removed one variable for consistency

This commit is contained in:
eha sah 2025-04-08 19:38:21 -07:00
parent c17118429e
commit 57868a28e1
2 changed files with 2 additions and 3 deletions

View file

@ -433,7 +433,7 @@ class LeaseAssignmentManagerTest {
.anyMatch(lease -> lease.leaseOwner().equals(TEST_YIELD_WORKER_ID + "2")));
}
// no needed since variance based load balancing is not longed tied to LAM run
// no needed since variance based load balancing is no longer tied to LAM run
// @Test
void performAssignment_varianceBalanceFreq3_asserLoadBalancingEvery3Iteration() throws Exception {
final LeaseManagementConfig.WorkerUtilizationAwareAssignmentConfig config =

View file

@ -71,7 +71,6 @@ public class DynamoDBLeaseCoordinatorIntegrationTest {
private static DynamoDBLeaseRefresher leaseRefresher;
private static DynamoDBCheckpointer dynamoDBCheckpointer;
private static final long LEASE_ASSIGNMENT_INTERVAL_MILLIS = 2 * LEASE_DURATION_MILLIS;
private LeaseCoordinator coordinator;
private final String leaseKey = "shd-1";
@ -130,7 +129,7 @@ public class DynamoDBLeaseCoordinatorIntegrationTest {
new LeaseManagementConfig.WorkerUtilizationAwareAssignmentConfig(),
LeaseManagementConfig.GracefulLeaseHandoffConfig.builder().build(),
new ConcurrentHashMap<>(),
LEASE_ASSIGNMENT_INTERVAL_MILLIS);
2 * LEASE_DURATION_MILLIS);
dynamoDBCheckpointer = new DynamoDBCheckpointer(coordinator, leaseRefresher);
dynamoDBCheckpointer.operation(OPERATION);