Edgewall Software

Opened 10 years ago

Closed 10 years ago

Last modified 8 years ago

#11458 closed enhancement (fixed)

Reduce execution time of ticket functional test cases — at Version 4

Reported by: Ryan J Ollos Owned by: Ryan J Ollos
Priority: normal Milestone: 1.0.2
Component: general Version:
Severity: normal Keywords: functional tests
Cc: Branch:
Release Notes:

Reduced execution time of ticket functional test cases by not checking for timeline event every time a ticket is created.

API Changes:
Internal Changes:

Description

There are some changes we can make to speedup execution of the functional tests:

  • Remove the verify the ticket creation event shows up in the timeline and add a functional test to confirm this behavior once. This reduces execution time from approximately 150s to approximately 120s.
  • Remove unnecessary go_to_ticket calls reduces execution time to 115s.

Change History (4)

comment:1 by Ryan J Ollos, 10 years ago

Changes can be found in log:rjollos.git:t11458.

comment:2 by Ryan J Ollos, 10 years ago

The decrease in execution time from 150 seconds to 120 seconds works out to about 0.5 seconds per ticket (59 tickets created in the test module).

comment:3 by Jun Omae, 10 years ago

Looks good. Results of functional tests on my environments.

rjollos.git@t11458 1.0-stable@12462
Python 2.5, ext3, CentOS 5 896.494s 1065.900s
Python 2.6, ext4, CentOS 6 259.685s 306.008s
Python 2.6, NTFS, Windows XP 439.062s 524.328s
Last edited 10 years ago by Jun Omae (previous) (diff)

comment:4 by Ryan J Ollos, 10 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: newclosed

Thanks for testing.

Committed to 1.0-stable in [12464:12465]. Merged to trunk in [12466] and a minor change was made in [12467].

Note: See TracTickets for help on using tickets.