Merge pull request #255 from gyuho/tt

control: bump up time out
This commit is contained in:
Gyu-Ho Lee 2017-02-04 03:18:09 -08:00 committed by GitHub
commit cf4a12faa0
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func sendReq(ep string, req agentpb.Request, i int) (*agentpb.Response, error) {
// give enough timeout
// e.g. uploading logs takes longer
ctx, cancel := context.WithTimeout(context.Background(), time.Minute)
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
resp, err := cli.Transfer(ctx, &req)
cancel()
if err != nil {