diff options
author | Valery Piashchynski <[email protected]> | 2021-01-15 18:12:02 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-15 18:12:02 +0300 |
commit | 609fe5057f9f3cc2f7f5104f305f08a0496e8fef (patch) | |
tree | 37222d13701c84b00ccc1e5d57844d2756369b5a /plugins/kv | |
parent | d5b0a6021e4855bec595b613a0937a52cda54397 (diff) |
Slightly increase timeout for the GHA
Diffstat (limited to 'plugins/kv')
-rw-r--r-- | plugins/kv/boltdb/plugin_unit_test.go | 2 | ||||
-rw-r--r-- | plugins/kv/memcached/plugin_unit_test.go | 4 | ||||
-rw-r--r-- | plugins/kv/memory/plugin_unit_test.go | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/kv/boltdb/plugin_unit_test.go b/plugins/kv/boltdb/plugin_unit_test.go index ab6b1065..fa12db8c 100644 --- a/plugins/kv/boltdb/plugin_unit_test.go +++ b/plugins/kv/boltdb/plugin_unit_test.go @@ -453,7 +453,7 @@ func TestStorage_MExpire_TTL(t *testing.T) { } assert.NoError(t, s.MExpire(i1, i2)) - time.Sleep(time.Second * 6) + time.Sleep(time.Second * 7) // ensure that storage is clean v, err = s.Has("key", "key2") diff --git a/plugins/kv/memcached/plugin_unit_test.go b/plugins/kv/memcached/plugin_unit_test.go index 64e843c2..31423627 100644 --- a/plugins/kv/memcached/plugin_unit_test.go +++ b/plugins/kv/memcached/plugin_unit_test.go @@ -245,7 +245,7 @@ func TestStorage_MExpire_TTL(t *testing.T) { } assert.NoError(t, s.MExpire(i1, i2)) - time.Sleep(time.Second * 6) + time.Sleep(time.Second * 7) // ensure that storage is clean v, err = s.Has("key", "key2") @@ -341,7 +341,7 @@ func TestStorage_SetExpire_TTL(t *testing.T) { TTL: nowPlusFive, })) - time.Sleep(time.Second * 6) + time.Sleep(time.Second * 7) // ensure that storage is clean v, err = s.Has("key", "key2") diff --git a/plugins/kv/memory/plugin_unit_test.go b/plugins/kv/memory/plugin_unit_test.go index c7dd882f..6daa0795 100644 --- a/plugins/kv/memory/plugin_unit_test.go +++ b/plugins/kv/memory/plugin_unit_test.go @@ -266,7 +266,7 @@ func TestStorage_MExpire_TTL(t *testing.T) { } assert.NoError(t, s.MExpire(i1, i2)) - time.Sleep(time.Second * 6) + time.Sleep(time.Second * 7) // ensure that storage is clean v, err = s.Has("key", "key2") |