implement new redis storage backend with go-redis package (#1649)

This commit is contained in:
Caleb Doxsey 2020-12-10 12:21:31 -07:00 committed by GitHub
parent 2e8b842aed
commit 3b634de550
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 383 additions and 406 deletions

View file

@ -14,7 +14,6 @@ import (
)
func TestEncryptedBackend(t *testing.T) {
ctx := context.Background()
m := map[string]*anypb.Any{}
@ -79,7 +78,7 @@ func TestEncryptedBackend(t *testing.T) {
assert.Equal(t, any.Value, record.Data.Value, "value should be preserved")
assert.Equal(t, any.TypeUrl, record.Type, "record type should be preserved")
records, err := e.GetAll(ctx)
records, err := e.List(ctx, "")
if !assert.NoError(t, err) {
return
}