private void testMemberRemoveAckInteraction(final boolean delete) { createGroup(groupSize); Transaction txn; Database db; try { MasterTxn.setFactory(new TxnFactory(delete)); ReplicatedEnvironment master = repEnvInfo[0].getEnv(); txn = master.beginTransaction(null, null); /* Write to the environment. */ db = master.openDatabase(txn, "random", dbconfig); db.close(); txn.commit(); } catch (InsufficientAcksException e) { fail("No exception expected."); } finally { MasterTxn.setFactory(null); } }