+ @Test
+ public void testOptimisticLockFailedException() throws InterruptedException, ExecutionException, TimeoutException {
+ dbFailureSimulator.failSubmits(new OptimisticLockFailedException("bada boum bam!"));
+ LockInput lockInput = new LockInputBuilder().setLockName("testLock").build();
+ runUnfailSubmitsTimerTask(3000); // see other tests above
+ assertSuccessfulFutureRpcResult(lockManager.lock(lockInput));
+ }