Skip to content

Commit

Permalink
[grid] Add test timeout for session queue test
Browse files Browse the repository at this point in the history
  • Loading branch information
pujagani committed May 26, 2021
1 parent 93e5fb5 commit 2a8d9cb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public void setup() throws URISyntaxException, MalformedURLException {
bus,
new DefaultSlotMatcher(),
Duration.ofSeconds(5),
Duration.ofSeconds(10),
Duration.ofSeconds(60),
registrationSecret);
handler.addHandler(queue);

Expand Down Expand Up @@ -166,7 +166,7 @@ public void shouldBeAbleToCreateMultipleSessions() {
}
}

@Test
@Test(timeout = 5000)
public void shouldBeAbleToRejectRequest() {
// Grid has no slots for the requested capabilities
HttpResponse httpResponse = createSession(ImmutableMap.of("browserName", "burger"));
Expand Down

0 comments on commit 2a8d9cb

Please sign in to comment.