fix influxdbTest timeout error

[TD-1051]
This commit is contained in:
Shuduo Sang 2020-08-03 15:33:29 +08:00
parent 634d8968d6
commit 09193a227f
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ func writeDataImp(wInfo *WriteInfo, wg *sync.WaitGroup, arguments *ProArgs) {
Addr: arguments.host,
Username: arguments.username,
Password: arguments.password,
Timeout: 300 * time.Second,
})
if err != nil {
@ -220,6 +221,7 @@ func readData(arguments *ProArgs) {
Addr: arguments.host,
Username: arguments.username,
Password: arguments.password,
Timeout: 300 * time.Second,
})
if err != nil {