-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20790/#review41625
-----------------------------------------------------------



core/src/test/java/org/apache/accumulo/core/util/shell/command/HistoryCommandTest.java
<https://reviews.apache.org/r/20790/#comment75157>

    I'm confused - this appears to be testing that the ! event designator 
works, and not that the history is numbered correctly. (Sure, both should be 
tested.) I'd have figured there would be a test ensuring that the output was:
    
    1: foo
    2: bar


- Bill Havanki


On April 28, 2014, 3:18 p.m., Mike Drob wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/20790/
> -----------------------------------------------------------
> 
> (Updated April 28, 2014, 3:18 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-2742
>     https://issues.apache.org/jira/browse/ACCUMULO-2742
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> ACCUMULO-2742 offset history command by one
> 
> The history entries returned by the history command are 0-indexed,
> while the history expansion is 1-indexed. We need to offset the index
> when we print it so that users can accurately use event expansion.
> 
> 
> Diffs
> -----
> 
>   
> core/src/main/java/org/apache/accumulo/core/util/shell/commands/HistoryCommand.java
>  9531d903aca834ab3b70650824023061e7e788d9 
>   
> core/src/test/java/org/apache/accumulo/core/util/shell/command/HistoryCommandTest.java
>  PRE-CREATION 
> 
> Diff: https://reviews.apache.org/r/20790/diff/
> 
> 
> Testing
> -------
> 
> New unit test. Verified on cluster deployment.
> 
> 
> Thanks,
> 
> Mike Drob
> 
>

Reply via email to