Skip to content

[🐛 Bug]: Drain Node API Causes Java Process to Shut Down #16306

@sathanRaj

Description

@sathanRaj

Description

I triggered the following API to drain the node:

curl --request POST 'http:///se/grid/distributor/node//drain' --header 'X-REGISTRATION-SECRET: '

However, this is not only draining the node, but it is also shutting down the Java process. The expected behavior is that the node should be drained, but the Java process should continue running.

It would be very helpful if this issue could be fixed as soon as possible.

Issue in this file at line number 170

Reproducible Code

//Below code used to to start the node server

NodeServer nodeServer = new NodeServer();
Server server = nodeServer.asServer(nodeConfiguration);
server.start();

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-needs-triagingA Selenium member will evaluate this soon!B-gridEverything grid and server relatedC-javaJava BindingsI-defectSomething is not working as intendedOS-mac

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions