public void nodetrans_05()
{
// 2 transactions - no blocking reader - create a second NodeTableTrans
Transaction txn1 = createTxn(11) ;
NodeTableTrans ntt1 = create(txn1, node1) ;
NodeId nodeId1 = ntt1.getBaseNodeTable().getNodeIdForNode(node1) ;
ntt1.begin(txn1) ;
NodeId nodeId2 = ntt1.getAllocateNodeId(node2) ;
ntt1.commitPrepare(txn1) ;
ntt1.commitEnact(txn1) ;
ntt1.commitClearup(txn1) ;
Transaction txn2 = createTxn(12) ;
NodeTableTrans ntt2 = create(txn2, ntt1.getBaseNodeTable()) ;
ntt2.begin(txn2) ;
assertEquals(nodeId1, ntt2.getNodeIdForNode(node1)) ;
assertEquals(nodeId2, ntt2.getNodeIdForNode(node2)) ;
NodeId nodeId3 = ntt2.getAllocateNodeId(node3) ;
assertEquals(nodeId3, ntt2.getNodeIdForNode(node3)) ;
ntt2.commitPrepare(txn2) ;
ntt2.commitEnact(txn2) ;
ntt2.commitClearup(txn2) ;