ctubbsii commented on issue #2474:
URL: https://github.com/apache/accumulo/issues/2474#issuecomment-1057398477


   I found that this test becomes extremely stable when I do:
   
   ```diff
   @@ -197,5 +197,8 @@ public class FateIT {
      private static TStatus getTxStatus(ZooReaderWriter zrw, long txid)
          throws KeeperException, InterruptedException {
        String txdir = String.format("%s%s/tx_%016x", ZK_ROOT, Constants.ZFATE, 
txid);
   +    zrw.getZooKeeper().sync(ZK_ROOT, null, null);
   +    zrw.getZooKeeper().sync(ZK_ROOT + Constants.ZFATE, null, null);
   +    zrw.getZooKeeper().sync(txdir, null, null);
        return TStatus.valueOf(new String(zrw.getData(txdir), UTF_8));
      }
   ```
   
   This seems to fix the test. However, I don't know if it's enough to address 
any potential issues when actually running Accumulo. In other words, I don't 
know if this is merely a test bug that is fixed by this change, or if it's a 
problem with Accumulo itself.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to