You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2019/05/23 16:51:12 UTC

[GitHub] [accumulo] hkeebler opened a new issue #1171: Clean up user/table creation/cleanup in AccumuloClusterHarness

hkeebler opened a new issue #1171: Clean up user/table creation/cleanup in AccumuloClusterHarness
URL: https://github.com/apache/accumulo/issues/1171
 
 
   #1164  - Update the harness to create "test unique" users.prefixed with something (currently the tables are prefixed with the method name) so that each test can perform proper cleanup when finished.   The current  deleteusers code in the harness look for users prefixed with the method name to delete but that is not how they are created so the deletion does not work.
   
   @keith-turner commented that the class name as a prefix is confusing because with inheritance and multiple classes its hard to know if you got it right. Maybe just use a constant like
   
   public static final String HARNESS_USER_PREFIX="a1b1ae6bfef2ca11d92b86ab60930b3c56971f6e"
   
   Then all code can just use that constant. I picked the latest commit hash on the master branch for the value. The constant could also be a classname, it does not really matter what it is as long its somewhat unique.
   
   When this is completed all ITs implementing this class that use getUser(int) can remove all explicit user delete code.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services