123124125126127128129130131132133
{ BlockMgr mgr = setup() ; write(mgr, 1234) ; mgr.beginRead() ; Block b0 = mgr.getRead(0) ; mgr.promote(b0) ; mgr.endRead() ; } @Test(expected=BlockException.class) public void track_05()