diff options
author | Valery Piashchynski <[email protected]> | 2021-01-13 11:33:46 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-13 11:33:46 +0300 |
commit | a653066b085bcca8e5fa894293fcb11d0206ecd8 (patch) | |
tree | bce80c7c08ba37b5bc002d7166f6f3cf4afe29f6 | |
parent | c3cf1d988b980e9408862d380f7ae33dae501e05 (diff) |
slightly increase wait time for the KV ttl (for the GHA)
-rw-r--r-- | tests/plugins/kv/boltdb/plugin_test.go | 2 | ||||
-rw-r--r-- | tests/plugins/kv/memcached/plugin_test.go | 2 | ||||
-rw-r--r-- | 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) |