Thread: Fix for query_tool_tests.py

Fix for query_tool_tests.py

From
Usman Muzaffar
Date:
Hi Hackers,
Please find attached patch for following test case

i) query_tool_tests.py

The fix include the following

When an execution is cancelled in query tool, two different messages are encountered at different time. There is no exact pattern for them. So now, the test case will look for any one of following message in the output text box

i) canceling statement due to user request
ii) Execution cancelled!


--


Thanks,

Usman Muzaffar
QA Team
EnterpriseDB Corporation
Attachment

Re: Fix for query_tool_tests.py

From
Dave Page
Date:
Thanks, committed.

On Wed, Oct 10, 2018 at 9:03 AM Usman Muzaffar <usman.muzaffar@enterprisedb.com> wrote:
Hi Hackers,
Please find attached patch for following test case

i) query_tool_tests.py

The fix include the following

When an execution is cancelled in query tool, two different messages are encountered at different time. There is no exact pattern for them. So now, the test case will look for any one of following message in the output text box

i) canceling statement due to user request
ii) Execution cancelled!


--


Thanks,

Usman Muzaffar
QA Team
EnterpriseDB Corporation


--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

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