We adjusted the patches to correct the issues that you mentioned
Improves screenshots and reduces test flakiness
- rename screenshot files to add python version
- put screenshots into separate pg version folders
Thanks
Joao & Tira & Sarah
On Thu, Mar 2, 2017 at 5:15 AM, Dave Page <dpage@pgadmin.org> wrote:
Hi On Wed, Mar 1, 2017 at 9:34 PM, Joao Pedro De Almeida Pereira <jpereira@pivotal.io> wrote: > Hi Hackers > > We noticed that the feature test dependencies were removed in a recent > patch, so we added them back.
- The screenshots are saving with names like: TemplateSelectionFeatureTest-2017-03-02 10/06/24.253843.png. Can you please:
* Change the / to a . or similar? Having forward slashes in filenames is likely to be painful (the space should probably be changed to an _ as well). * Store the screenshots in a sub-directory named for the server that's currently being tested? That'll make it much easier to associate a screenshot with the right server in multi-server runs (each of my runs currently tests against 10 different servers for example).
- I modified the ConnectToServer test to induce a failure. When I ran the tests (on macOS Sierra, with Python 2.7) the testsuite took screenshots for every test, not just the ones that failed. We should only store them for tests that actually did fail.