From e5a93ee2a305c87ab128dfd166e735c6eeb77e43 Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Sun, 24 Jan 2021 00:21:09 +0300 Subject: Slightly increase wait time for key delete in the boltdb --- plugins/kv/boltdb/plugin_unit_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/kv') 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") -- cgit v1.2.3