accumulo-notifications mailing list archives

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

    [ https://issues.apache.org/jira/browse/ACCUMULO-1119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660969#comment-13660969
] 

Mike Drob commented on ACCUMULO-1119:
-------------------------------------

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

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

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: https://issues.apache.org/jira/browse/ACCUMULO-1119
>             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: http://www.atlassian.com/software/jira

Mime
View raw message