mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #13957 from ahrtr/fix_TestKVPut
Use lineariziable range request in TestKVGet
This commit is contained in:
commit
93c54b816d
@ -63,7 +63,7 @@ func TestKVPut(t *testing.T) {
|
||||
if err := cc.Put(key, value, config.PutOptions{}); err != nil {
|
||||
t.Fatalf("count not put key %q, err: %s", key, err)
|
||||
}
|
||||
resp, err := cc.Get(key, config.GetOptions{Serializable: true})
|
||||
resp, err := cc.Get(key, config.GetOptions{})
|
||||
if err != nil {
|
||||
t.Fatalf("count not get key %q, err: %s", key, err)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user