2011-01-06 Julie Parent <jparent@chromium.org>
authorjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Jan 2011 07:31:14 +0000 (07:31 +0000)
committerjparent@chromium.org <jparent@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Jan 2011 07:31:14 +0000 (07:31 +0000)
commit376a2ff8a9a56a62ed3deff86ff31ccadbcfa26a
treeba99e44971e63b039d5b530572dabc04afbc2e3b
parente03f277b9c966f571c54a7396d838bca951cd066
2011-01-06  Julie Parent  <jparent@chromium.org>

        Reviewed by Eric Seidel.

        Test Result Server not removing old results.
        https://bugs.webkit.org/show_bug.cgi?id=52012

        * TestResultServer/model/jsonresults.py:
        Fix off-by-one: Truncate if >= num_runs, not just >.
        * TestResultServer/model/jsonresults_unittest.py:
        Add unit test to test that merging in a new result with the same value
        as the last result causes previous result to fall off.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@75234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/TestResultServer/model/jsonresults.py
Tools/TestResultServer/model/jsonresults_unittest.py