Skip to content
This repository has been archived by the owner on May 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #39 from googlegsa/szab100
Browse files Browse the repository at this point in the history
Fix flaky HeartbeatHandlerTest
  • Loading branch information
szab100 authored May 3, 2017
2 parents 049cc0d + b59d5f4 commit af9982c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/com/google/enterprise/adaptor/HeartbeatHandlerTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,12 @@ public void getDocContent(Request request, Response response)
.setAdaptor(mockAdaptor)
.setAuthzAuthority(mockAdaptor)
.setWatchdog(watchdog)
.setHeaderTimeoutMillis(100)
.setContentTimeoutMillis(100)
.setHeaderTimeoutMillis(150)
.setContentTimeoutMillis(150)
.build();
HeartbeatHandler handler = createHeartbeatHandlerBuilder()
.setWatchdog(watchdog2).setDocHandler(docHandler)
.setTimeoutMillis(150)
.build();
try {
handler.handle(ex);
Expand Down

0 comments on commit af9982c

Please sign in to comment.