g.getSession().waitForTx();
  protected static void addMemberUpdateFail(Group g, Subject subj, Member m) {    LOG.debug("addMemberUpdateFail.0");    try {      g.addMember(subj);      LOG.debug("addMemberUpdateFail.1");      Assert.fail("added member");    }    catch (InsufficientPrivilegeException e0) {      Assert.assertTrue("failed to add member", true);      LOG.debug("addMemberUpdateFail.2");    }    catch (MemberAddException e1) {      Assert.assertTrue("failed to add member", true);      LOG.debug("addMemberUpdateFail.3");    }  } // protected static void addMemberUpdateFail(g, subj, m)