diff options
author | Valery Piashchynski <[email protected]> | 2021-01-24 00:21:09 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-01-24 00:21:09 +0300 |
commit | e5a93ee2a305c87ab128dfd166e735c6eeb77e43 (patch) | |
tree | 500393122dc27bd0fb2e7d8f702d3b573b3a8a97 /plugins/kv | |
parent | 684cfa55dfc6c89c79e324b5362d966d3c37f233 (diff) |
Slightly increase wait time for key delete in the boltdb
Diffstat (limited to 'plugins/kv')
-rw-r--r-- | plugins/kv/boltdb/plugin_unit_test.go | 2 |
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") |