Documentation ¶
Overview ¶
Package clientv3test implements tests built upon embedded etcd, and focuses on correctness of etcd client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCanceled ¶
func IsClientTimeout ¶
IsClientTimeout checks reason of the error. In grpc v1.11.3+ dial timeouts can error out with transport.ErrConnClosing. Previously dial timeouts would always error out with context.DeadlineExceeded.
func IsServerCtxTimeout ¶
IsServerCtxTimeout checks reason of the error. e.g. due to clock drifts in server-side, client context times out first in server-side while original client-side context is not timed out yet
func IsUnavailable ¶
func MustWaitPinReady ¶
MustWaitPinReady waits up to 3-second until connection is up (pin endpoint). Fatal on time-out.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.