twdsilva commented on issue #477: PHOENIX-5230 Fix ChangePermissionsIT and 
TableDDLPermissionIT on master
URL: https://github.com/apache/phoenix/pull/477#issuecomment-480999856
 
 
   aTestRXPermsReqdForPhoenixConn tests functionality that assumes it is the 
very first time a client connects to cluster. I don't think I can move this to 
BeforeClass.
   
   ```
   // NS is disabled, CQSI tries creating SYSCAT, Two cases here
   // 1. First client ever --> Gets ADE, runs client server compatibility check 
again and gets TableNotFoundException since SYSCAT doesn't exist
   // 2. Any other client --> Gets ADE, runs client server compatibility check 
again and gets AccessDeniedException since it doesn't have EXEC perms
               verifyDenied(getConnectionAction(), 
TableNotFoundException.class, regularUser1);
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to