mirror of https://github.com/etcd-io/dbtester.git
control: bump up time out
This commit is contained in:
parent
c1f8337339
commit
6aac520457
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue