Skip to content

Issue with chromedriver port when running with parallel #691

@uppak

Description

@uppak

Hi

I am running tests parallel with this gem and so far all things are good and successfully able to incorporate in cloud environemnt also. But in some cases, our tests have quite and re-open browser. It is like @driver.quit which kills browser and chromedriver also and then browser is re-launched with new chrome session.

At this stage i don't have any chrome browser or chromedriver session running. So when relaunched with new driver session, sometimes it is starting on 9515 and sometimes on 9516.
9515 port is always opened and when it launches driver on 9515 there is no issue and test is passing successfully, but when driver session launched on 9516. It is saying unable to establish connection and tests are failing.

Not sure if parallel_tests taking ports randomly or chromedriver issues. Any help is appreciated? & is anyone faced this sort of issues?

i am using parallel_tests 2.27.1
chrome version 68(tried on 73 also)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions