// Shouldn't release at operation end
userTxn.operationEnd();
checkHeldLocks(userTxn, 1, 0);
userTxn.releaseLock(ln.getNodeId());
checkHeldLocks(userTxn, 0, 0);
userTxn.commit(Txn.TXN_SYNC);
afterRelease = mb.getCacheMemoryUsage();
assertEquals(beforeLock, afterRelease);
} catch (Throwable t) {