mirror of
https://github.com/redis/go-redis.git
synced 2025-07-28 06:42:00 +03:00
Make tests less flaky.
This commit is contained in:
@ -174,9 +174,6 @@ func (cmd *DurationCmd) parseReply(rd reader) (interface{}, error) {
|
||||
return 0, err
|
||||
}
|
||||
vv := time.Duration(v.(int64))
|
||||
if vv == -1 {
|
||||
return vv, nil
|
||||
}
|
||||
return vv * cmd.precision, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user