Skip to content

webdriver jettyThreads option #330

@archagy

Description

@archagy

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions