#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: | |||
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_ticketcalls reduces execution time to 115s.
Attachments (0)
Change History (5)
comment:1 by , 12 years ago
comment:2 by , 12 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 , 12 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 |
comment:4 by , 12 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Thanks for testing.
Committed to 1.0-stable in [12464:12465]. Merged to trunk in [12466] and a minor change was made in [12467].



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