Okay, so I quickly implemented automatic cleanup of old test runs (hurray).
There is a new script called limit-test-count.rb, it accepts one argument - max number of tests.
It's run by cron like all the other scripts. It runs every 3h and ensures that test count is <= 70 (we can change that easily).
However if it doesn't work for some reason and if anyone ends up in this state:
2014-12-18 22:42 GMT+01:00 Sam Fentress
<sfen...@concord.org>:
Piotr, do you know about manually updating the Selenium snapshots? It looked like it had run out of memory (the metadata.js file was half-written, and complained about swap errors), so I cleared out a number of the snapshot folders by hand, and made the metadata.js file syntactically-valid, but I am still unable to call rm-old-tests.rb. I didn't look at it long, though, and can get back to it tomorrow.
then the simplest fix is to delete screenshots/metadata.js (it will be recreated automatically) and all the test results by hand (screenshots/test_*).
Regards,
Piotr