Manno15 commented on a change in pull request #1894:
URL: https://github.com/apache/accumulo/pull/1894#discussion_r567982243
##########
File path: test/src/main/java/org/apache/accumulo/test/ShellIT.java
##########
@@ -352,10 +352,11 @@ public void authsTest() throws Exception {
}
@Test
- public void userTest() {
+ public void userTest() throws IOException {
Shell.log.debug("Starting user test --------------------------");
- // Test cannot be done via junit because createuser only prompts for
password
- // exec("createuser root", false, "user exists");
+ exec("createuser root", false, "user exists");
+ exec("createuser test", true);
+ exec("createuser test", false, "user exists");
Review comment:
Good ideas. I will implement.
----------------------------------------------------------------
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]