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

Hudson commented on HDDS-443:
-----------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #15163 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/15163/])
HDDS-443. Create reusable ProgressBar utility for freon tests. (aengineer: rev 
f068296f8a88fc2a4c7b1680bc190c5fa7fc2469)
* (add) 
hadoop-ozone/tools/src/test/java/org/apache/hadoop/ozone/freon/TestProgressBar.java
* (edit) hadoop-ozone/tools/pom.xml
* (add) 
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/ProgressBar.java


> Create reusable ProgressBar utility for freon tests
> ---------------------------------------------------
>
>                 Key: HDDS-443
>                 URL: https://issues.apache.org/jira/browse/HDDS-443
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: test
>            Reporter: Elek, Marton
>            Assignee: Zsolt Horvath
>            Priority: Major
>              Labels: newbie
>             Fix For: 0.3.0
>
>         Attachments: HDDS-443.001.patch
>
>
> Since HDDS-398 we can support multiple type of freon tests. But to add more 
> test we need common utilities for generic task.
> One of the most important is to provide a reusable Progressbar utility.
> Currently the ProgressBar class is part the RandomKeyGenerator. It should be 
> moved out from the class and all the thread start/stop logic should be moved 
> to the ProgressBar.
> {{ProgressBar bar = new ProgressBar(System.out, () ->  ... , 200);}}
> {{bar.start(); // thred should be started here}}{{bar.stop(); // thread 
> should be stopped.}}
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to