accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Allen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2549) ShellTest sometimes fails because of order of authentication strings returned
Date Tue, 25 Mar 2014 17:42:20 GMT
Michael Allen created ACCUMULO-2549:
---------------------------------------

             Summary: ShellTest sometimes fails because of order of authentication strings
returned
                 Key: ACCUMULO-2549
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2549
             Project: Accumulo
          Issue Type: Bug
          Components: client
    Affects Versions: 1.5.1
            Reporter: Michael Allen
            Priority: Minor


{{org.apache.accumulo.core.util.shell.ShellTest}} sometimes fails for me when run from the
Maven command line.  Tracing down, I see that line 154 (1.5.1 version) contains the following

{noformat}
    exec("getauths", true, "y,z,x");
{noformat}

This test expects that the set of authorizations returns from the {{getauths}} command always
come in the particular order "y,z,x".  For whatever reason, on my machine, they came out in
a different order ("x,y,z" for the record).

My proposed fix (patch shortly) would be to have the test look for those individual label
strings returned within the authorization string.  I think this is a more accurate and future
proof test than what's in there now.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message