// We add controlled rpc manager so we can stop the L1 invalidations being sent by the owner and backup. This
// way we can ensure these are synchronous
RpcManager rm = TestingUtil.extractComponent(ownerCache, RpcManager.class);
ControlledRpcManager crm = new ControlledRpcManager(rm);
crm.blockBefore(InvalidateL1Command.class);
TestingUtil.replaceComponent(ownerCache, RpcManager.class, crm, true);
// We have to do this on backup owner as well since both invalidate now
RpcManager rm2 = TestingUtil.extractComponent(backupOwnerCache, RpcManager.class);
ControlledRpcManager crm2 = new ControlledRpcManager(rm2);