We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48ebf7d commit 139af72Copy full SHA for 139af72
java/src/org/openqa/selenium/grid/distributor/local/LocalDistributor.java
@@ -505,7 +505,9 @@ protected Set<NodeStatus> getAvailableNodes() {
505
readLock.lock();
506
try {
507
return model.getSnapshot().stream()
508
- .filter(node -> !DOWN.equals(node.getAvailability()))
+ .filter(
509
+ node ->
510
+ !DOWN.equals(node.getAvailability()) && !DRAINING.equals(node.getAvailability()))
511
.collect(toImmutableSet());
512
} finally {
513
readLock.unlock();
0 commit comments