summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/kv/boltdb/plugin_unit_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/kv/boltdb/plugin_unit_test.go b/plugins/kv/boltdb/plugin_unit_test.go
index 890736f7..ad3843e7 100644
--- a/plugins/kv/boltdb/plugin_unit_test.go
+++ b/plugins/kv/boltdb/plugin_unit_test.go
@@ -521,7 +521,7 @@ func TestStorage_SetExpire_TTL(t *testing.T) {
assert.True(t, keyTTL < 5)
assert.True(t, key2TTL < 5)
- time.Sleep(time.Second * 4)
+ time.Sleep(time.Second * 7)
// ensure that storage is clean
v, err = s.Has("key", "key2")