-
Notifications
You must be signed in to change notification settings - Fork 116
Description
Recently from jenkins I was getting this error.
01:34:25 [01:34:25] 01:34:25.560 INFO [WebDriverServlet.<init>] - Initialising WebDriverServlet 01:34:25 01:34:25 [01:34:25] Exception in thread "main" 01:34:25 [01:34:25] java.lang.IllegalStateException: Insufficient configured threads: required=3 < max=3 for QueuedThreadPool[qtp1734161410]@675d3402{STARTED,3<=3<=3,i=3,q=0}[ReservedThreadExecutor@1c93084c{s=0/1,p=0}] 01:34:25 [01:34:25] 01:34:25 01:34:25 [01:34:25] at org.seleniumhq.jetty9.util.thread.ThreadPoolBudget.check(ThreadPoolBudget.java:155)
I could solve it adding on the build/lib/start.js ->start function the option to set the jettyThreads value.
I don't know if there are other way to add it or other way to solve my original problem (lol)
but at least it's working and running my tests well.
P.S if this option is helpful I could try to add the change on a PR.