summaryrefslogtreecommitdiff
path: root/tests/plugins/kv/storage_plugin_test.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-04-23 00:38:37 +0300
committerValery Piashchynski <[email protected]>2021-04-23 00:38:37 +0300
commit6c55cb6e2d554dfbffe1ce2eedaad3d34202e1bd (patch)
treeddd08397c74cfc6120e6174864a7a3ef7ca38771 /tests/plugins/kv/storage_plugin_test.go
parent06ee748c1ca23bf489ae707041f0e8f3e67fbaf7 (diff)
- Update arch drawio file
- Update comments Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/kv/storage_plugin_test.go')
-rw-r--r--tests/plugins/kv/storage_plugin_test.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/plugins/kv/storage_plugin_test.go b/tests/plugins/kv/storage_plugin_test.go
index 0c322441..b4122e8a 100644
--- a/tests/plugins/kv/storage_plugin_test.go
+++ b/tests/plugins/kv/storage_plugin_test.go
@@ -664,7 +664,7 @@ func testRPCMethodsInMemory(t *testing.T) {
// add 5 second ttl
tt := time.Now().Add(time.Second * 5).Format(time.RFC3339)
- keys := makePayload(flatbuffers.NewBuilder(100), "default", []kv.Item{
+ keys := makePayload(flatbuffers.NewBuilder(100), "memory-rr", []kv.Item{
{
Key: "a",
},
@@ -675,7 +675,7 @@ func testRPCMethodsInMemory(t *testing.T) {
Key: "c",
},
})
- data := makePayload(flatbuffers.NewBuilder(100), "default", []kv.Item{
+ data := makePayload(flatbuffers.NewBuilder(100), "memory-rr", []kv.Item{
{
Key: "a",
Value: "aa",
@@ -727,7 +727,7 @@ func testRPCMethodsInMemory(t *testing.T) {
assert.Equal(t, "bb", mGet["b"].(string))
tt2 := time.Now().Add(time.Second * 10).Format(time.RFC3339)
- data2 := makePayload(flatbuffers.NewBuilder(100), "default", []kv.Item{
+ data2 := makePayload(flatbuffers.NewBuilder(100), "memory-rr", []kv.Item{
{
Key: "a",
TTL: tt2,
@@ -749,7 +749,7 @@ func testRPCMethodsInMemory(t *testing.T) {
assert.True(t, mExpRes)
// TTL
- keys2 := makePayload(flatbuffers.NewBuilder(100), "default", []kv.Item{
+ keys2 := makePayload(flatbuffers.NewBuilder(100), "memory-rr", []kv.Item{
{
Key: "a",
},
@@ -773,7 +773,7 @@ func testRPCMethodsInMemory(t *testing.T) {
assert.Len(t, ret, 0)
// DELETE
- keysDel := makePayload(flatbuffers.NewBuilder(100), "default", []kv.Item{
+ keysDel := makePayload(flatbuffers.NewBuilder(100), "memory-rr", []kv.Item{
{
Key: "e",
},