Skip to content

Commit

Permalink
cleanup usage
Browse files Browse the repository at this point in the history
  • Loading branch information
dcapwell committed Mar 25, 2024
1 parent 06493bd commit fe9b7e2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/org/apache/cassandra/repair/RepairJobTest.java
Expand Up @@ -40,6 +40,7 @@

import org.apache.cassandra.repair.messages.SyncResponse;
import org.apache.cassandra.repair.messages.ValidationResponse;
import org.apache.cassandra.service.paxos.cleanup.PaxosRepairState;
import org.assertj.core.api.Assertions;
import org.junit.After;
import org.junit.Before;
Expand Down Expand Up @@ -874,7 +875,7 @@ private void interceptRepairMessages(Map<InetAddressAndPort, MerkleTrees> mockTr
if (message.verb() == PAXOS2_CLEANUP_REQ)
{
PaxosCleanupRequest request = (PaxosCleanupRequest) message.payload;
SharedContext.Global.instance.paxosRepairState().finishSession(to, new PaxosCleanupResponse(request.session, true, null));
PaxosRepairState.instance().finishSession(to, new PaxosCleanupResponse(request.session, true, null));
return false;
}

Expand Down

0 comments on commit fe9b7e2

Please sign in to comment.