Source:
<code>private static void allowTestsToBlock(BlockHound.Builder builder) throws ClassNotFoundException { builder.allowBlockingCallsInside(EvictionWithConcurrentOperationsTest.class.getName() + "$Latch", "blockIfNeeded"); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, CheckPoint.class); builder.allowBlockingCallsInside(BlockingInterceptor.class.getName(), "blockIfNeeded"); builder.allowBlockingCallsInside(TestingUtil.class.getName(), "sleepRandom"); builder.allowBlockingCallsInside(TestingUtil.class.getName(), "sleepThread"); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, ReclosableLatch.class); builder.allowBlockingCallsInside(BlockingLocalTopologyManager.class.getName() + "$Event", "awaitUnblock"); builder.allowBlockingCallsInside(BlockingLocalTopologyManager.class.getName() + "$Event", "unblock"); builder.allowBlockingCallsInside(ControlledRpcManager.class.getName(), "performRequest"); builder.allowBlockingCallsInside(ControlledRpcManager.class.getName(), "expectCommandAsync"); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, StateSequencer.class); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, NotifierLatch.class); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, TestBlocking.class); CommonsBlockHoundIntegration.allowMethodsToBlock(builder, Class.forName(ReplListener.class.getName() + "$ReplListenerInterceptor"), false); <START> CommonsBlockHoundIntegration.allowMethodsToBlock(builder, Class.forName(InboundRpcSequencerAction.class.getName() + "$SequencerPerCacheInboundInvocationHandler"), false); <END> }</code><technical_language>work fine ReplListenerInterceptor exception now</technical_language>

Target:
private static void allowTestsToBlock(BlockHound.Builder builder) throws ClassNotFoundException { builder.allowBlockingCallsInside(EvictionWithConcurrentOperationsTest.class.getName() + "$Latch", "blockIfNeeded"); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, CheckPoint.class); builder.allowBlockingCallsInside(BlockingInterceptor.class.getName(), "blockIfNeeded"); builder.allowBlockingCallsInside(TestingUtil.class.getName(), "sleepRandom"); builder.allowBlockingCallsInside(TestingUtil.class.getName(), "sleepThread"); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, ReclosableLatch.class); builder.allowBlockingCallsInside(BlockingLocalTopologyManager.class.getName() + "$Event", "awaitUnblock"); builder.allowBlockingCallsInside(BlockingLocalTopologyManager.class.getName() + "$Event", "unblock"); builder.allowBlockingCallsInside(ControlledRpcManager.class.getName(), "performRequest"); builder.allowBlockingCallsInside(ControlledRpcManager.class.getName(), "expectCommandAsync"); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, StateSequencer.class); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, NotifierLatch.class); CommonsBlockHoundIntegration.allowPublicMethodsToBlock(builder, TestBlocking.class); builder.allowBlockingCallsInside(TestingUtil.class.getName(), "sleepThread"); CommonsBlockHoundIntegration.allowMethodsToBlock(builder, Class.forName(ReplListener.class.getName() + "$ReplListenerInterceptor"), false); CommonsBlockHoundIntegration.allowMethodsToBlock(builder, Class.forName(InboundRpcSequencerAction.class.getName() + "$SequencerPerCacheInboundInvocationHandler"), false); }