Community
Participate
Working Groups
Build Identifier: The attached patch will reduce the runtime of these tests significantly. As I reduced some timeouts, etc. it's necessary to thoroughly test the patch on all environments (windows, etc.). Reproducible: Always
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.