Skip to content

Commit

Permalink
[java] Adding EventBus role to the Hub command. Fixes SeleniumHQ#8414
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Jun 13, 2020
1 parent 346d51b commit 820a501
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/server/src/org/openqa/selenium/grid/commands/Hub.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
import java.util.Set;
import java.util.logging.Logger;

import static org.openqa.selenium.grid.config.StandardGridRoles.EVENT_BUS_ROLE;
import static org.openqa.selenium.grid.config.StandardGridRoles.HTTPD_ROLE;
import static org.openqa.selenium.remote.http.HttpMethod.GET;
import static org.openqa.selenium.remote.http.Route.combine;
Expand All @@ -73,7 +74,7 @@ public String getDescription() {

@Override
public Set<Role> getConfigurableRoles() {
return ImmutableSet.of(HTTPD_ROLE);
return ImmutableSet.of(EVENT_BUS_ROLE, HTTPD_ROLE);
}

@Override
Expand Down

0 comments on commit 820a501

Please sign in to comment.