accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser (JIRA)" <>
Subject [jira] [Updated] (ACCUMULO-4361) Test race conditions in ShellServerIT
Date Mon, 11 Jul 2016 03:06:10 GMT


Josh Elser updated ACCUMULO-4361:
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Merged this through. Thanks for the look again, [~kturner].

Relevant follow-on work filed/bumped: ACCUMULO-4362, ACCUMULO-4128, ACCUMULO-4364, ACCUMULO-4365.

> Test race conditions in ShellServerIT
> -------------------------------------
>                 Key: ACCUMULO-4361
>                 URL:
>             Project: Accumulo
>          Issue Type: Bug
>          Components: test
>            Reporter: Josh Elser
>            Assignee: Josh Elser
>            Priority: Minor
>             Fix For: 1.7.3, 1.8.0
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
> [~romil.choksi] found a test issue where ShellServerIT.getAuths() would intermittently
> This is because of the use of ZooCache inside of ZKAuthorizor. The minicluster has two
tabletservers. If the shell is so unlucky to update the authorizations on one tserver but
then ask for the authorizations on the other tserver, the test is subject to the propagation
of the ZK watcher update to fire.
> We should just switch over ShellServerIT to run a minicluster with only one tserver than
try to hack around this in the test itself with retries.

This message was sent by Atlassian JIRA

View raw message