Skip to content

Commit 2a8d9cb

Browse files
committed
[grid] Add test timeout for session queue test
1 parent 93e5fb5 commit 2a8d9cb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

java/server/test/org/openqa/selenium/grid/router/SessionQueueGridTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public void setup() throws URISyntaxException, MalformedURLException {
101101
bus,
102102
new DefaultSlotMatcher(),
103103
Duration.ofSeconds(5),
104-
Duration.ofSeconds(10),
104+
Duration.ofSeconds(60),
105105
registrationSecret);
106106
handler.addHandler(queue);
107107

@@ -166,7 +166,7 @@ public void shouldBeAbleToCreateMultipleSessions() {
166166
}
167167
}
168168

169-
@Test
169+
@Test(timeout = 5000)
170170
public void shouldBeAbleToRejectRequest() {
171171
// Grid has no slots for the requested capabilities
172172
HttpResponse httpResponse = createSession(ImmutableMap.of("browserName", "burger"));

0 commit comments

Comments
 (0)