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


   So, I changed the test method to:
   
   ```
     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(txdir, null, null);
       return TStatus.valueOf(new String(zrw.getData(txdir), UTF_8));
     }
   ```
   
   Subsequent tests both succeeded and failed. Looking at the `sync` javadoc, 
it's asynchronous. :-(


-- 
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