As part of the BuildFaster project (see https://wiki.mozilla.org/ReleaseEngineering/BuildFaster), we are investigating whether certain slow mochitests can be sped up. test_sessionhistory.html is a slow test, average execution time on a recent run (in ms): win32-debug, 46186 linux-opt, 28182 macosx64-debug, 51978 win32-opt, 28260 linux64-debug, 44187 linux64-opt, 28247 macosx64-opt, 28796 macosx-debug, 48526 linux-debug, 45130
Olli, as the original test author, would you be willing to help see if this test can be sped up?
Well, 7s or so is the 1000ms timeouts from nextTest(). I wonder why we need those.... Also some of the subtests have 1000ms timeouts. Past that, this is actually tests for 7 bugs in 1.... I wonder whether any particular subtests are slow here.
Created attachment 553582 [details] [diff] [review] mochitest patch This patch removes the 1s timeouts. It passed on try. Do you think it's safe to land?