Merge pull request #13957 from ahrtr/fix_TestKVPut

Use lineariziable range request in TestKVGet
This commit is contained in:
Piotr Tabor 2022-04-18 10:00:14 +02:00 committed by GitHub
commit 93c54b816d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,7 +63,7 @@ func TestKVPut(t *testing.T) {
if err := cc.Put(key, value, config.PutOptions{}); err != nil { if err := cc.Put(key, value, config.PutOptions{}); err != nil {
t.Fatalf("count not put key %q, err: %s", key, err) 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 { if err != nil {
t.Fatalf("count not get key %q, err: %s", key, err) t.Fatalf("count not get key %q, err: %s", key, err)
} }