| Summary: | AbstractOrphanedSessionTest and it's subclasses are running too long | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [RT] Jetty | Reporter: | Thomas Becker <tbecker> | ||||
| Component: | server | Assignee: | Thomas Becker <tbecker> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | |||||
| Severity: | minor | ||||||
| Priority: | P3 | CC: | jesse.mcconnell, jetty-inbox, joakim.erdfelt | ||||
| Version: | 7.4.2 | ||||||
| Target Milestone: | 7.5.x | ||||||
| Hardware: | PC | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Thomas Becker
Created attachment 200806 [details]
proposed patch
As requested no change to VERSION.txt. Feel free to use the commit message for VERSION.txt:
+ 353749: OrphanedSessionTests runtime reduced
this fails on jdbc tests on my machine, better to switch to a latching mechanism or something Using latches or exchanges rather than shorter timeouts is a better way to reduce test times without risking failures. Current timings for the session tests are... Running org.eclipse.jetty.server.session.ClientCrossContextSessionTest : 0.39 sec Running org.eclipse.jetty.server.session.LightLoadTest : 0.002 sec Running org.eclipse.jetty.server.session.NewSessionTest : 7.636 sec Running org.eclipse.jetty.server.session.ReentrantRequestSessionTest : 0.195 sec Running org.eclipse.jetty.server.session.OrphanedSessionTest : 9.215 sec Running org.eclipse.jetty.server.session.ServerCrossContextSessionTest : 0.14 sec Running org.eclipse.jetty.server.session.RemoveSessionTest : 0.138 sec Won't spend any more time on this to save a couple of seconds only. |