[pgAdmin4][RM2586] Cleanup feature test

From: Harshal Dhumal <harshal(dot)dhumal(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: [pgAdmin4][RM2586] Cleanup feature test
Date: 2017-08-02 13:32:01
Message-ID: CAFiP3vw3E7ZbNQ2DK85+Bsbeh5w23bQWib7iu1b4beG1dXstKQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi,

Please find attached patch to improve feature test execution time.
Now on my machine overall execution time is cut down to 280 seconds from
400+ seconds

Changes:

1. Removed fixed python time.sleeps where ever possible.
2. Removed connect to server test cases.
3. Query tool test cases:
i. Merged 3 test cases On demand result on scroll, grid select all and
column select all.
ii. Merged 3 test cases Explain query, Explain query with verbose and
Explain query with cost.
iii. Merged 3 test cases Explain analyze query, Explain analyze with
buffers and Explain analyze with timing.
4. Improved debugger XSS test case execution time.

--
*Harshal Dhumal*
*Sr. Software Engineer*

EnterpriseDB India: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment Content-Type Size
RM2586.patch text/x-patch 40.5 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Surinder Kumar 2017-08-02 13:41:56 [pgAdmin4[Patch][Webpacking]: Enable source maps in pgAdmin4 for development environment
Previous Message Surinder Kumar 2017-08-02 12:37:24 [pgAdmin4][Patch]: RM_ 2620 - Getting error "Violates check constraint" while creating pgAgent job