summaryrefslogtreecommitdiff
path: root/plugins/kv/memcached/plugin_unit_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/kv/memcached/plugin_unit_test.go')
-rw-r--r--plugins/kv/memcached/plugin_unit_test.go4
1 files changed, 2 insertions, 2 deletions
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")