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

Commit

Permalink
Fix flaky HeartbeatHandlerTest
Browse files Browse the repository at this point in the history
 (use a bit higher timeout than task's actual)
  • Loading branch information
szab100 committed May 3, 2017
1 parent be3f1c8 commit b59d5f4
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 b59d5f4

Please sign in to comment.