From a653066b085bcca8e5fa894293fcb11d0206ecd8 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 13 Jan 2021 11:33:46 +0300 Subject: slightly increase wait time for the KV ttl (for the GHA) --- tests/plugins/kv/boltdb/plugin_test.go | 2 +- tests/plugins/kv/memcached/plugin_test.go | 2 +- tests/plugins/kv/memory/plugin_test.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/plugins/kv/boltdb/plugin_test.go b/tests/plugins/kv/boltdb/plugin_test.go index ba9b695a..5548402d 100644 --- a/tests/plugins/kv/boltdb/plugin_test.go +++ b/tests/plugins/kv/boltdb/plugin_test.go @@ -172,7 +172,7 @@ func testRPCMethods(t *testing.T) { assert.Len(t, ttlRes, 3) // HAS AFTER TTL - time.Sleep(time.Second * 11) + time.Sleep(time.Second * 15) ret = make(map[string]bool) keys = []string{"a", "b", "d"} err = client.Call("boltdb.Has", keys, &ret) diff --git a/tests/plugins/kv/memcached/plugin_test.go b/tests/plugins/kv/memcached/plugin_test.go index 6eff8715..d4cb58bb 100644 --- a/tests/plugins/kv/memcached/plugin_test.go +++ b/tests/plugins/kv/memcached/plugin_test.go @@ -172,7 +172,7 @@ func testRPCMethods(t *testing.T) { assert.Len(t, ttlRes, 0) // HAS AFTER TTL - time.Sleep(time.Second * 11) + time.Sleep(time.Second * 15) ret = make(map[string]bool) keys = []string{"a", "b", "d"} err = client.Call("memcached.Has", keys, &ret) diff --git a/tests/plugins/kv/memory/plugin_test.go b/tests/plugins/kv/memory/plugin_test.go index c6f94602..ee01fabb 100644 --- a/tests/plugins/kv/memory/plugin_test.go +++ b/tests/plugins/kv/memory/plugin_test.go @@ -172,7 +172,7 @@ func testRPCMethods(t *testing.T) { assert.Len(t, ttlRes, 3) // HAS AFTER TTL - time.Sleep(time.Second * 11) + time.Sleep(time.Second * 15) ret = make(map[string]bool) keys = []string{"a", "b", "d"} err = client.Call("memory.Has", keys, &ret) -- cgit v1.2.3