accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Drob (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1119) ShellTest.userTest doesn't do anything
Date Fri, 17 May 2013 19:25:16 GMT


Mike Drob commented on ACCUMULO-1119:

It's possible to fake stdin through some stream shenanigans.

PipedOutputSteam out = new PipedOutputStream();
new OutputStreamWriter(out).write("foo");
System.setIn(new PipedInputStream(out));

Be sure to save off the real stdin and reset it in @Before and @After methods. Also, it would
be good to do some try/catch blocks in there as well.
> ShellTest.userTest doesn't do anything
> --------------------------------------
>                 Key: ACCUMULO-1119
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: client
>            Reporter: John Vines
>            Assignee: Billie Rinaldi
> The ShellTest has a create user call that's commented out... and that's it. Not really
sure what the intent is here, and whether this behavior should be going with the changes we're
making to user management.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message