d6y / jchav

JChav is a way to see the change in performance of your web application over time, by running a benchmark test for each build you produce.
http://jchav.blogspot.com/
3 stars 0 forks source link

JChav Ant task silently discards files with same last modified date #27

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create directory of JMeter result files
2. Set last modified date on all files to be same
3. Run JChav

What is the expected output? What do you see instead?
Only one result file is plotted. I expect to see all result files plotted.

What version of the product are you using? On what operating system?
JChav 1.1.2. Ubuntu.

Please provide any additional information below.
The bug is in FileChooser - a LastModifiedTime comparator is used to sort files 
by modified time (great) but in a TreeSet not a list (bad). Result files may 
have the same modified time yet contain different results (for example, copying 
result files from a load generator via SCP to another server). I suggest using 
the LastModifiedTime comparator on a List, not a Set.

Original issue reported on code.google.com by stephens...@googlemail.com on 18 Feb 2011 at 3:06