Edgewall Software

Opened 8 years ago

Closed 8 years ago

Last modified 6 years ago

#11458 closed enhancement (fixed)

Reduce execution time of ticket functional test cases

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:


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.

Attachments (0)

Change History (5)

comment:1 by Ryan J Ollos, 8 years ago

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

comment:2 by Ryan J Ollos, 8 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, 8 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 8 years ago by Jun Omae (previous) (diff)

comment:4 by Ryan J Ollos, 8 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].

comment:5 by Ryan J Ollos, 6 years ago

Fixed a regression on 1.0-stable in [14801], merged to trunk in [14802].

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment

E-mail address and name can be saved in the Preferences .
Note: See TracTickets for help on using tickets.