[
https://issues.apache.org/jira/browse/ACCUMULO-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser resolved ACCUMULO-3461.
----------------------------------
Resolution: Fixed
Fixed the test case and a bad log message. Thanks for noticing both, [~ecn]!
> ZooTraceClientTest is prone to a race condition
> -----------------------------------------------
>
> Key: ACCUMULO-3461
> URL: https://issues.apache.org/jira/browse/ACCUMULO-3461
> Project: Accumulo
> Issue Type: Bug
> Components: test, trace
> Reporter: Josh Elser
> Assignee: Josh Elser
> Priority: Minor
> Fix For: 1.7.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> [~ecn] found that ZooTraceClientTest was regularly failing for him. He
> ultimately realized that a sleep before the call to verify made the test pass.
> I realized that the 0s delay on retrying the operation was subject to a race
> condition in that the verification might happen before the retry actually
> executed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)