mirror of https://github.com/etcd-io/dbtester.git
zk error log
This commit is contained in:
parent
7f967f7bae
commit
cacd13b0bc
|
|
@ -277,7 +277,7 @@ func doPutZk(conn *zk.Conn, requests <-chan request, sameKey bool) {
|
||||||
var errStr string
|
var errStr string
|
||||||
if err != nil {
|
if err != nil {
|
||||||
errStr = err.Error()
|
errStr = err.Error()
|
||||||
fmt.Println("doPutZk err:", err)
|
log.Println("doPutZk err:", err)
|
||||||
}
|
}
|
||||||
results <- result{errStr: errStr, duration: time.Since(st), happened: time.Now()}
|
results <- result{errStr: errStr, duration: time.Since(st), happened: time.Now()}
|
||||||
bar.Increment()
|
bar.Increment()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue