Manno15 commented on pull request #2255:
URL: https://github.com/apache/accumulo/pull/2255#issuecomment-915374935


   You could look at `HistoryCommandTest` or `SetIterCommandTest` to get a 
better idea of how to implement a possible unit test for the command. If you 
think it needs to be tested on an actual cluster then adding a test to 
`ShellServerIT` would be the next step. For the actual test, I think you only 
need to create a table, insert the row into the table, and exec the scan 
command and if escape is done correctly then you should get the entire row back 
as output. 
   
   Below is my shell history of when I tested this manually. I hope this helps. 
Let me know if you need anything else. 
   
   ```
   createtable test
    insert foo person:information name bob
    scan
    scan -r foo -c person:information
    scan -r foo -c person\:information:name
    scan -r foo -c person\:information
   ```


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