Skip to content

Commit 9b5c7b9

Browse files
committed
[grid] Add tests for using local distributor with Redis Grid Model
1 parent 06d2284 commit 9b5c7b9

File tree

3 files changed

+410
-4
lines changed

3 files changed

+410
-4
lines changed

java/server/src/org/openqa/selenium/grid/distributor/gridmodel/redis/RedisGridModel.java

+3
Original file line numberDiff line numberDiff line change
@@ -445,4 +445,7 @@ public NodeStatus rewrite(NodeStatus status, Availability availability) {
445445
status.getOsInfo());
446446
}
447447

448+
public GridRedisClient getRedisClient() {
449+
return redisClient;
450+
}
448451
}

java/server/test/org/openqa/selenium/grid/distributor/gridmodel/RedisGridModelTest.java

-4
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,6 @@ public void setUp() throws URISyntaxException {
128128
.build();
129129
}
130130

131-
@After
132-
public void cleanUp() {
133-
134-
}
135131
@AfterClass
136132
public static void tearDownRedisServer() {
137133
safelyCall(() -> server.stop());

0 commit comments

Comments
 (0)