We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dec63da commit 82277abCopy full SHA for 82277ab
java/src/org/openqa/selenium/grid/node/remote/RemoteNode.java
@@ -279,6 +279,12 @@ public Result check() {
279
try {
280
NodeStatus status = getStatus();
281
282
+ if (!Objects.equals(getId(), status.getNodeId())) {
283
+ // ensure the original RemoteNode stays DOWN when it has been restarted and registered
284
+ // again as another RemoteNode with the same externalUri
285
+ return new Result(DOWN, externalUri + " has unexpected node id");
286
+ }
287
+
288
switch (status.getAvailability()) {
289
case DOWN:
290
return new Result(DOWN, externalUri + " is down");
0 commit comments